As title, consider it a "question from the curious" , I'm half sure its been tried or thought of.
In theory what would happen to a 16/48 Spectrum if you replaced the ROM with a (the official last one) ZX81 ROM ?
And vice-versa , a Spectrum ROM into the ZX81 ?
Would either way get very far ? I realise probably not however putting any physical limitations aside (different socket size?) would the ZX81 get as far as to the vague 'ram check' or even the copyright message ? I don't see the '81 doing very well with the speccy ROM however.
I would try but I don't have access to a working 81 emulator and can't download/use on on the machine I'm writing this post on.
I did wonder about that 'much updated' 81 ROM that iirc was 16K instead of 8K but I've not looked at its documentation to see how much it differs from standard.
Purely theoretical ROM swap
Re: Purely theoretical ROM swap
I couldn't say what would be the result re the Spectrum, but I have converted a few ZX81's into ZX80's ( as I didn't fancy paying half a grand for a "doesn't power up not tested no returns" piece of drek) This involved fitting a few resistors to various pins on the CPU to stop the NMI from running and burning a suitable EPROM with ZX80 code, so anythings possible I suppose.
Re: Purely theoretical ROM swap
I mean, you could probably find out exactly by just supplying a zx81 ROM image into a spectrum emulator. It won't be very useful regardless, because the zx81 ROM will have absolutely no idea how to drive the screen or poll the keyboard, it'll just fill RAM up with garbage and sit around waiting.
Re: Purely theoretical ROM swap
Correct me if I'm wrong but ZX81 has a totally different graphic mode than Zx Spectrum. It doesn't have screen memory at 16384. It doesn't have ULA chip which automatically converts the screen memory to the display. If I rememver correctly it uses Z80 CPU to generate picture which take about 80% of CPU time.
So if you put Z81 ROM into Zx Spectrum then you'll see nothing or maybe just some trash at the screen. The processor will be reading and executing instructions from the ROM, one after another, but it won't result in anything meaningful at the screen.
So if you put Z81 ROM into Zx Spectrum then you'll see nothing or maybe just some trash at the screen. The processor will be reading and executing instructions from the ROM, one after another, but it won't result in anything meaningful at the screen.
Re: Purely theoretical ROM swap
I've done this through emulation in the past (curiosity, boredom, take your pic...)
A Spectrum running the ZX81 ROM will run the familiar Spectrum 'reset' sequence, including the appearing and disappearing red lines bit. This is because the initial RAM test code in the '81 ROM is identical to that in the Spectrum. It'll then hang, though, as the display routine in the ZX81 ROM will head off into uninitialised RAM, which will contain mostly FF's after power up. This equates to the RST 38 instruction, which brings us right back to the display routine which sends us back into RAM repeatedly. Result - white border and black screen.
The other way around (Spectrum ROM on a ZX81) is thoroughtly uninteresting as the machine just hangs at a white screen (as there's no code in the Spectrum ROM to run the ZX81's CPU driven video output). The ROM code enters an infinite loop as the NMI generator sends it into the Spectrum's buggy routine which ends up continually resetting the maching by JP'ing to 0.
A Spectrum running the ZX81 ROM will run the familiar Spectrum 'reset' sequence, including the appearing and disappearing red lines bit. This is because the initial RAM test code in the '81 ROM is identical to that in the Spectrum. It'll then hang, though, as the display routine in the ZX81 ROM will head off into uninitialised RAM, which will contain mostly FF's after power up. This equates to the RST 38 instruction, which brings us right back to the display routine which sends us back into RAM repeatedly. Result - white border and black screen.
The other way around (Spectrum ROM on a ZX81) is thoroughtly uninteresting as the machine just hangs at a white screen (as there's no code in the Spectrum ROM to run the ZX81's CPU driven video output). The ROM code enters an infinite loop as the NMI generator sends it into the Spectrum's buggy routine which ends up continually resetting the maching by JP'ing to 0.
Fixing ZX Spectrums in the 21st Century
https://github.com/brendanalford/zx-diagnostics
https://github.com/brendanalford/zx-diagnostics
Re: Purely theoretical ROM swap
Once upon a time, decades ago, I thought the ZIP format was amazing "you could compress data"?! (it may have been .LZ or LHA - who can remember after this long)
My thought was ... "why wouldn't you just keep compressing your data until it didn't take up any space at all"?
Well, that was before I was wise and knew how things worked ... and that's what I feel after reading the initial question in this thread
My thought was ... "why wouldn't you just keep compressing your data until it didn't take up any space at all"?
Well, that was before I was wise and knew how things worked ... and that's what I feel after reading the initial question in this thread
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
Re: Purely theoretical ROM swap
Thanks all.
I knew it had been tried (or highly likely it had)
Was not able to use an emulator yesterday and yes I could of waited I suppose but thought I'd ask that's the only reason why I did not try myself.
Its good it "got so far" in some respects I suppose. I knew it would not fully work.
I knew it had been tried (or highly likely it had)
Was not able to use an emulator yesterday and yes I could of waited I suppose but thought I'd ask that's the only reason why I did not try myself.
Its good it "got so far" in some respects I suppose. I knew it would not fully work.