Mountain Computer ROMPlus+ Operating Manual
Mountain Computer ROMPlus+ Operating Manual
Mountain Computer ROMPlus+ Operating Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 3ADVANCED PROGRAMMERS INFORMATIONNow suppose you wish to activate ROMPLUS+, deactivate the RAM,and select ROM #5. You would do one of the following:LDA #$OD:Deactivate RAM, activate ROMPLUS+, selectROM #5.STA $COSO,X :Write control wordor POKE -16256+16*SLOT,13If you wish to toggle the state of the RAM (i.e., turn off whenit is on and turn on when it is off), you would use this code:LDAEORORASTA$COSO,X :Read control word#$SO#$SO$COSO,X :Write control wordFrom BASIC, use these statements:S=(PEEK(-16256+16*SLOT)+12S)MOD 256IF S MOD 16