Advertisement
Lion

Untitled

Apr 8th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. There's the Mastering Sideways ROM & RAM course on MDFS:
  2. http://mdfs.net/Docs/Comp/BBC/SROM/Mastering/
  3.  
  4. The first half covers service ROMs but the rest covers language ROMs.
  5.  
  6. Also, Bruce Smith's book "Advanced Sideways RAM user guide" is now free to
  7. download:
  8. http://www.brucesmith.info/advanced-sideways-ram-user-guide/
  9.  
  10. Might also be an idea to get the developer to sign up to the StarDot forum
  11. as there's always someone ready to help with programming questions on there.
  12.  
  13. ----
  14.  
  15. Essentially, your ROM type needs to be %11xx0010 to indicate '6502 code', your entry point is at 8000 which should JMP to your main code where you must initialise the stack, LDX #&FF:TXS and claim BRKV at &0202/3. You then own zero page from &00 to &8F, main memory from &400 to &7FF and user memory from OSBYTE &83 to OSBYTE &84. You must talk to the system via the API calls at &FFCE to &FFF7.
  16.  
  17. You also need a method of selecting your language, so you need at minimum a *command service handler to recognise your selection command and tell the MOS to enter yourself. There is a sample minimal *command selection routine on the Wiki which uses the ROM's title as its selection command: http://beebwiki.mdfs.net/Simple_ROM_selection_command_code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement