Closed barewires closed 7 years ago
The perils of copy-and-paste strike again. 2/ is almost the same as 2*, well, in assembler source code if not in effect!
Real programmers still demand perfection, even in documentation after HAL 9000 and Mr. Bill changed our world for the worst.
Still cannot compile with SDCC on a RasPiZeroW, so I am using the older MINDEX.ihx on a £0.40 stm8s from China.
Comms with W1209 is one way out, see '4th' and stm8eForth V2.2 but no input. Is the diode pointing out actually intended?
Anyway, no complaints, a great learning experience once again, and I am so pleased to get back to my roots. Never forgave my dad for not buying me a PDP-8 (the price of a house or two) in 1965.
All the best,
Roy
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jun 12, 2017 at 12:26 PM, RigTig notifications@github.com wrote:
The perils of copy-and-paste strike again. 2/ is almost the same as 2*, well, in assembler source code if not in effect!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TG9541/stm8ef/issues/34#issuecomment-307762847, or mute the thread https://github.com/notifications/unsubscribe-auth/ANDXUfzlOc1eRNAKosarEYjy_Wf245OUks5sDSB-gaJpZM4N21YG .
That's a genuine Dr. Ting artifact, I s'pose. Fixed. Comes with the next relase. My all time favorite was the one too many "end call optimization" in COMPILE
. I found it when I implemented CREATE...DOES>
, it had a really weird effect on the return stack, and I still don't fully understand why STM8EF worked at all.
@barewires: 1) could you please tell me which release of SDCC you're using on the Pi? Compiling the latest version of SDCC on a PI3 might work (but it would be best to use a fast USB disk since the 700MiB of data compiling SDCC creates amounts to torturing an SD Card). 2) There is nothing wrong with the direction of the diode :-) 3) My wife and I still giggle about the PDP-8
Hi Thomas,
I am using SDCC version 3.4.0 #8981 My Pi3 is running off a WD PiDrive 3.14 GB so the SD is only for booting.
This acquisition was my PDP-8 clone and manuals sold in 2004. Was used in a coal yard belt conveyor scale using loadcells and a belt speed tachometer to integrate coal quantity. The coal dust sucked in didn't help and the project was scrapped in '72. The company was then very wary about computers and I couldn't convince them to get with the 70s and use the 8080 so I left to the competition. http://bitsavers.informatik.uni-stuttgart.de/pdf/dcc/
I still have to finish building a PiDP-8 kit. Too many irons in the fire. http://obsolescence.wixsite.com/obsolescence/pidp-8
Thanks for the help,
Roy
On Mon, Jun 12, 2017 at 9:12 PM, Thomas notifications@github.com wrote:
That's a genuine Dr. Ting artifact, I s'pose. Fixed. Comes with the next relase. My all time favorite was the one too many "end call optimization" in COMPILE. I found it when I implemented CREATE...DOES>, it had a really weird effect on the return stack, and I still don't fully understand why STM8EF worked at all.
@barewires https://github.com/barewires:
- could you please tell me which release of SDCC you're using on the Pi? Compiling the latest version of SDCC on a PI3 might work (but it would be best to use a fast USB disk since the 700MiB of data compiling SDCC creates amounts to torturing an SD Card).
- There is nothing wrong with the direction of the diode :-)
- My wife and I still giggle about the PDP-8
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TG9541/stm8ef/issues/34#issuecomment-307910346, or mute the thread https://github.com/notifications/unsubscribe-auth/ANDXUVG9u3AayuSyq7mUAsU6kTDJxt1fks5sDZuggaJpZM4N21YG .
Hi Thomas,
I am compiling now due to the following error in Makefile
sdcc -mstm8 -oout/MINDEV/MINDEV.ihx main.c out/MINDEV/forth.rel
changed to
sdcc -mstm8 -o out/MINDEV/MINDEV.ihx main.c out/MINDEV/forth.rel
Next to see if it flashes.
Roy
On Mon, Jun 12, 2017 at 9:12 PM, Thomas notifications@github.com wrote:
Closed #34 https://github.com/TG9541/stm8ef/issues/34.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TG9541/stm8ef/issues/34#event-1120185682, or mute the thread https://github.com/notifications/unsubscribe-auth/ANDXUUTednLJY9lI1EauV8UsGHzyS5ppks5sDZuhgaJpZM4N21YG .
Hi Roy,
I've never tested SDCC 3.4.0
(according the the SDCC homepage STM8 support was introduced with 3.4.0) but I don't think the assembler has changed much (3.6.0 uses sdasstm8 "Assembler V02.00 + NoICE + SDCC mods (STMicroelectronics STM8)
").
The whitespace after -o
works with SDCC 3.6.0
, and also with the latest development snapshot SDCC 3.6.6
. However, the whitespace is inconsistent with the rest of the parameters and it's all but impossible that someone removes it in the future.
@barewires I have my Forth cross compiler generating code for the PDP-8. Just saying.
; 2/ ( n -- n ) ( TOS STM8: -- Y,Z,N ) ; Multiply tos by 2.