Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Eh? Just write your own bank switching code. The whole setup is different to MMU paging. Not having looked at the specs I'm guessing you do an I/O write to something that sets the bits of the address lines above 15 to select the bank.

You could go two ways:

1. Have some amount of RAM outside the bank switching scheme so code and data living there is always available and bank switch above or below that fixed area.

2. Switch the entire 64k at a time, meaning your code and data has to be copied into the same place in each bank.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: