Search found 60 matches

by IanB
Fri Jul 31, 2015 3:24 pm
Forum: Sinclair Misc
Topic: ZXzine
Replies: 6
Views: 3297

Re: ZXzine

Nice work! I've just read through the first issue. I wonder if you'll run type-in programs (with errors of course!) :)
by IanB
Fri Jul 31, 2015 12:35 pm
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

I'm afraid you've completely lost me. The Machine Stack is above the BASIC system's GOSUB stack, and I don't see how it can be affected by a standard tape loading operation I'm afraid, since that only loads as far as the top of the Variables area so far as I can see.
by IanB
Fri Jul 31, 2015 11:04 am
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

When it is just 1K you can use the SP as return to start MC. I haven't tried it to make a BASIC loader that will set SP low on machines with more than 1K. With this method you can load over sysvar and use more without any problems. I think you've just lost me with that. "Use the SP as a return to s...
by IanB
Fri Jul 31, 2015 5:57 am
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

I am looking at using PRBUFF and MEMBOT (and the two more unused bytes) because I see there 65 lovely bytes that can store program data, "sprite" data etc, for "free" and which are loaded in by the LOAD command, that's why I'm interested in what circumstances might erase or corrupt their contents. F...
by IanB
Thu Jul 30, 2015 12:28 pm
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

Thanks, another question, is it safe to store stuff in the System Variable areas PRBUFF (the printer buffer) and MEMBOT (the calculator memory area) and under what conditions do these get cleared by the ROM? E.g. if I RET from the machine code to BASIC?
by IanB
Tue Jul 28, 2015 2:45 pm
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

Thank you 1024MAK, I'm glad to be here!

And also my brain is starting to frazzle with Z80 machine code... :)
by IanB
Tue Jul 28, 2015 9:08 am
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

Thank you everyone for being so helpful. There seems to be a lot of expertise here! I think this is enough to get me started :) Just one more question I'm not clear on, is it possible at all to detect the start of the second user programme execution block, that is (4) in my list, the set of lines be...
by IanB
Mon Jul 27, 2015 9:24 pm
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

I'm still a bit confused. This might be the gap of thirty years :) So far as I can tell from the internet, the sequence appears to go something like this- 1) ISR creates VSync pulse, reads keyboard, updates FRAMES 2) Application execution 3) Display routine (NMI gubbins) 4) Application execution [lo...
by IanB
Mon Jul 27, 2015 9:53 am
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Re: Hello, I'm Restarting ZX81 Programming After... 30 Years

Hi dr beep, thank you for your reply. When does FRAMES get updated relative in time to the screen display? I'm hoping to have my code run immediately after the screen has been generated. IIRC, FRAMES update and keyboard reading is done by the maskable interrupt service routine, but I'm having troubl...
by IanB
Mon Jul 27, 2015 6:59 am
Forum: Development
Topic: Hello, I'm Restarting ZX81 Programming After... 30 Years
Replies: 37
Views: 11076

Hello, I'm Restarting ZX81 Programming After... 30 Years

Hi, there is not an "introductions" section on this forum so I am saying hello and asking some questions here, if that is okay. I got a ZX81 (16K) in 1981, it was my first computer, when they seemed amazing just to exist at all. I became quite advanced (moderately) at programming machine code at the...