SP-2-ZX80, the development

Emulator and emulator development specific topics
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

I will add full IX support so the base emulator can be used for other systems if needed (JUPITER ACE??)

Besides that I had an idea for the translate routines and this saves 64 bytes in the emulator and speeds a bit up.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Been thinking..... I don't need to use an intrupt on the ZX80-emulator, the screen is updated by the program itself, as is keyboard reading.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

I will use intrupt for the menu.
Besides that I am dryrunning the emulator and it stops at the moment the screen needs to be drawn.

Now I need to code the screenroutine.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

First screen now drawn.
ROM needs a small alteration or screenroutine an extra test.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

First "working" version.

Input didn't work. On the ZX81 I deliberately skipped the C-flag to repair an IN A,(N) into value #7F for no key.
This killed the C-flag, but ZX80 ROM first rotates and then does IN whicj needs the C-flag. So I repaired IN A,(C) for it.

The program runs, but the NEXT loop doesn't stop.
sp2zx80-v003.zip
(6.61 KiB) Downloaded 117 times
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Screenupdate is like the Z80, only when called by the program. The screen remains as the last screen and not to black.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Bug found, JP PO was not right emulated. This will be a fix in the ZX81 emulator as well.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Working on the menu. It will display in the ZX80 characterset.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Menu is shown and working.

Now from inside the emulator the LOAD and SAVE must be added.

Also the ZX80 keyboard is needed to be added.

And finally the ROM-routines must be translated to speed up the BASIC.
emulator.png
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: SP-2-ZX80, the development

Post by dr beep »

Help keyboard now added.
Post Reply