Vertical Scroller by mistake
Vertical Scroller by mistake
Hi
I was trying to type in my first Forth program from paper, when all of a sudden Toddy Forth is doing a vertical scroller.
Somehow some of the video routine must have been messed with by mistake.
It is reproducible if you type in what I did.
Just out of curiosity; what is going on?
http://youtu.be/m199AhamaxY
I was trying to type in my first Forth program from paper, when all of a sudden Toddy Forth is doing a vertical scroller.
Somehow some of the video routine must have been messed with by mistake.
It is reproducible if you type in what I did.
Just out of curiosity; what is going on?
http://youtu.be/m199AhamaxY
Re: Vertical Scroller by mistake
mrtinb
I can reproduce the word SHOW. This is just showing the contents of the 620 memory locations allocated to SHOW. The characters displayed arent exactly the same but that may be because were are using different hardware or emulators.
Im not sure what you are trying to achieve with the second (scrolling) line. You are putting 77 and the contents of the first cell of SCR-FILE onto the stack, but what does the second graphic character represent? I dont have the Toddy manual.
edit to say I get OK when I reproduce the characters in zx 81 emulator
I can reproduce the word SHOW. This is just showing the contents of the 620 memory locations allocated to SHOW. The characters displayed arent exactly the same but that may be because were are using different hardware or emulators.
Im not sure what you are trying to achieve with the second (scrolling) line. You are putting 77 and the contents of the first cell of SCR-FILE onto the stack, but what does the second graphic character represent? I dont have the Toddy manual.
edit to say I get OK when I reproduce the characters in zx 81 emulator
Re: Vertical Scroller by mistake
rune wrote: I can reproduce the word SHOW. This is just showing the contents of the 620 memory locations allocated to SHOW. The characters displayed arent exactly the same but that may be because were are using different hardware or emulators.
Im not sure what you are trying to achieve with the second (scrolling) line. You are putting 77 and the contents of the first cell of SCR-FILE onto the stack, but what does the second graphic character represent? I dont have the Toddy manual.
Code: Select all
CREATE SCR-FILE 620 ALLOT
OK
: SHOW SCR-FILE @ 620 OVER + SWAP DO
I @ EMIT LOOP ;
OK
SHOW
OK
77 SCR-FILE @ !
Code: Select all
: SHOW SCR-FILE 620 OVER + SWAP DO
I C@ EMIT LOOP ;
Code: Select all
77 SCR-FILE C!
I thought it was amazing that somehow I corrupted the memory so much I made it scroll. (Looking at the running code in an emulator I might find out what code is running.)
Re: Vertical Scroller by mistake
Now I've come so far as having a little editor. It's all on paper, and works nice on the ZX81 as well.
Unfortunately I still cannot save my programs, as I don't have an old tape recorder. I can only load from wave file on my iPhone.
This means I start development by typing in the software from paper again. It can't get any closer to the old feeling of typing and typing
Unfortunately I still cannot save my programs, as I don't have an old tape recorder. I can only load from wave file on my iPhone.
This means I start development by typing in the software from paper again. It can't get any closer to the old feeling of typing and typing
Re: Vertical Scroller by mistake
Cant you use an emulator and save the image when needed. Once you have the program working save and convert to a wav for use on the real hardware.
Benschop Forth 83 is very good, but its for the Spectrum. You can save to tape, microdrive, IF1bis or any other media storage thats compatible with the 48K.
I also like h4th for the ZX81
Benschop Forth 83 is very good, but its for the Spectrum. You can save to tape, microdrive, IF1bis or any other media storage thats compatible with the 48K.
I also like h4th for the ZX81
Re: Vertical Scroller by mistake
Yes, that's possible. But I feel the joy of using a ZX81 is not in an emulator. It's about using the machine. (Now, that I've created a keyboard and all.)rune wrote:Cant you use an emulator and save the image when needed. Once you have the program working save and convert to a wav for use on the real hardware.
All these problems will be solved when the ZXblast is made. Then I'll buy one, and save to USB-stick. Using a different ROM with the ZXblast like H4TH will be possible as well.rune wrote:I also like h4th for the ZX81
Maybe I'll find a cassette recorder next week. This weekend all I could find was a reel-to-reel tape recorder.
Re: Vertical Scroller by mistake
Good luck with the search.
I agree on using real hardware, but sometimes (most times) its easier to use an emulator when the TV is rubbish but she who must be obeyed is watching it.
I agree on using real hardware, but sometimes (most times) its easier to use an emulator when the TV is rubbish but she who must be obeyed is watching it.
Re: Vertical Scroller by mistake
I feel live your pain.but she who must be obeyed is watching it.
5-TS1000,UK ZX81<-Sheelagh, US ZX81, 2-TS1500/KDLX , 3-TS2040 printer, 2-TS2020 cassette decks, ZXPAND+AY, ZeddyNET, ZXBlast, UDG, ZX8CCB, AERCO, BUILDS/REPAIRS ZX Spectrum, ZX80 Minstrel, ZXMAX48 v1 v2, 2-TS-2068, ROM, 16kRAM