News for hackers. Stuff that matters.
Re:Z-Berry: Z-80 computer by jacquesm on Thursday June 15, 2017 @01:31PM (#14562444)
The obvious way to solve the 'will crash when switching banks because next instruction is from different bank' is to replicate the bank switching code to all banks.
Re:Z-Berry: Z-80 computer by makomk on Thursday June 15, 2017 @05:34PM (#14564572)
Of course, in order to copy the bank switching code to the other banks you need to switch to them first. Which means that this copying can only be done by the ROM.
Re:Z-Berry: Z-80 computer by jacquesm on Thursday June 15, 2017 @08:06PM (#14565532)
No, you'd do that with a little bit of PIC running in one of the other parts of RAM.
Re:Z-Berry: Z-80 computer by makomk on Friday June 16, 2017 @02:09PM (#14571312)
Only one bank can be active at a time, so the only RAM you can run the code from is the same bank that you're trying to load code into. Slight chicken-and-egg problem.
Re:Z-Berry: Z-80 computer by jacquesm on Sunday June 18, 2017 @07:39PM (#14583629)
No, that's not how these systems work. The bank switched RAM is switched in banks of 16K, so you can keep 48K 'constant' while the other 16K is switched as a window in the 256K.