« Apple // Extended Debugging Monitor | Main | dsktool.rb »

Apple //e Soft Switch, Status, and other I/O locations

MEMORY MANAGEMENT SOFT SWITCHES

$C000W80STOREOFFAllow page2 to switch video page1 page2
$C001W80STOREONAllow page2 to switch main & aux video memory
$C002WRAMRDOFFRead enable main memory from $0200-$BFFF
$C003WRAMDRON Read enable aux memory from $0200-$BFFF
$C004WRAMWRTOFFWrite enable main memory from $0200-$BFFF
$C005WRAMWRTONWrite enable aux memory from $0200-$BFFF
$C006WINTCXROMOFFEnable slot ROM from $C100-$CFFF
$C007WINTCXROMONEnable main ROM from $C100-$CFFF
$C008WALZTPOFFEnable main memory from $0000-$01FF & avl BSR
$C009WALTZPON Enable aux memory from $0000-$01FF & avl BSR
$C00AWSLOTC3ROMOFFEnable main ROM from $C300-$C3FF
$C00BWSLOTC3ROMONEnable slot ROM from $C300-$C3FF

VIDEO SOFT SWITCHES

$C00CW80COLOFFTurn off 80 column display
$C00DW80COLON Turn on 80 column display
$C00EWALTCHARSETOFFTurn off alternate characters
$C00FWALTCHARSETONTurn on alternate characters
$C050R/WTEXTOFF Select graphics mode
$C051R/WTEXTONSelect text mode
$C052R/WMIXEDOFFUse full screen for graphics
$C053R/WMIXEDON Use graphics with 4 lines of text
$C054R/WPAGE2OFFSelect panel display (or main video memory)
$C055R/WPAGE2ON Select page2 display (or aux video memory)
$C056R/WHIRESOFFSelect low resolution graphics
$C057R/WHIRESON Select high resolution graphics

SOFT SWITCH STATUS FLAGS

$C010R7AKD1=key pressed 0=keys free (clears strobe)
$C011R7BSRBANK21=bank2 available 0=bank1 available
$C012R7BSRREADRAM1=BSR active for read 0=$D000-$FFFF active
$C013R7RAMRD0=main $0200-$BFFF active reads 1=aux active
$C014R7RAMWRT0=main $0200-$BFFF active writes 1=aux writes
$C015R7INTCXROM1=main $C100-$CFFF ROM active 0=slot active
$C016R7ALTZP1=aux $0000-$1FF+auxBSR 0=main available
$C017R7SLOTC3ROM1=slot $C3 ROM active 0=main $C3 ROM active
$C018R780STORE 1=page2 switches main/aux 0=page2 video
$C019R7VERTBLANK1=vertical retrace on 0=vertical retrace off
$C01AR7TEXT1=text mode is active 0=graphics mode active
$C01BR7MIXED1=mixed graphics & text
$C01CR7PAGE21=video page2 selected or aux
$C01DR7HIRES1=high resolution graphics 0=low resolution
$C01ER7ALTCHARSET1=alt character set on 0=alt char set off
$C01FR780COL1=80 col display on 0=80 col display off