dr beep wrote: ↑Fri Aug 04, 2023 9:31 pm
.p is just a memorydump to be loaded at #4009.
Thankyou for that it worked a treat! shame the .z80 .sna arn't that simple. I want to emulate as much as i can
I too have a ZX Spectrum Emulator ive written
Another thing ive found strange is the COPY of the shadow ROM. It dosent seem to matter wether its there or not. I suppose there is going to be a piece of software that use's it though.
Enabling write's down to 8192 seems to work okay but this has an effect on the NEW command writting down passed 16384 which destroys anything you would of had there! Ive been looking in to the NEW routine in ROM but haven't sussed what to alter to stop this yet!

So for now im stopping writes into Shadow Rom below 16384. I know ill need to allow this i think latter for Quiksilva UDG routines and other Devices latter.
Sound is some what of a mistery still to me but id like to emulate ZONX and the AY. Still looking for info or code to give me an in site on how this is done.
Hi res graphics is something i definatly want to look into as well!
Im also having timing issues not quite sure how the HALT works exactly in the ZX81. Also im using a delay loop after 16000 TCycles have happend but this seems to slow down to much and make the keyboard Laggy. I seem to think there's more to do with timming delays when the ROM writes to the screen. In my BlitMax Spectrum Emulator 1 timeing loop delay after 69888 works but i havent emulated memory contention delay which seems to effect a few games. But thats another Story.
I also think some of my z80 opcodes arn't 100% but i suppose they never will as it's an emulator id like to find a .P file for testing all Opcodes and flags.
Im almost at the point of releasing a Video which ill post a link to on SyntaxBomb.
Eventually id like to use the emulator to inject your own code in and run basic at PC speeds even my own Language a bit like Z80 Machine code but written in Basic format with Macro routines for the overhead of z80 code needed. Like a collection of Routines under new ZX81 Commands. Anyway that's a BIG wish.
Im also looking for an article on adding your own Z881 Commands. But this will need interrupts. In code i cant see the ZX81 jumping to interrupts like th ZX spectrum does!? Or is this HARDWIRED in the ZX81 forcing jumps to interrupts?
I have FULLSCREEN working but i cant capture that in my DEMO's .Im stuck with 1920,1080 if people want to use my emulators in the future. There is full Memory view live and stepping so you can run through the z80 code as each instruction is Ran and see the effects on FLAGS. It's also a great learning tool by seeing how the z80 instructions actually work, as ive commented them heavily. I needed todo that so i could learn myself.
Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 Quad core 16GB ram 1TB SSD. DID Technology stop! Or have we been assimulated!
ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!