mirror of
https://github.com/Michaelangel007/apple2_softswitch.git
synced 2026-01-22 08:18:31 +00:00
master
Apple 2 Soft Switch
Inspired by Anthony's program over in c.s.a2 here is a Applesoft BASIC program to display a memory map and limited soft switches.
Commands
- ESC = exit
- SPC = toggle status lines to show description / soft-switch addresss
NOTE: The IO soft switch address don't exactly match the hardware switches due to:
a) some are contiguous b) some require multiple locations to activate (i.e. TEXT/GR and Lo-Res/Hi-Res)
Future Versions?
Removing the RW columns gives us a little more space on the right. Here is a mock-up:
v4 ___READ___ __WRITE___
$FFFF| ROM | ROM | C088 BANK2
$E000|__________|__________| /C081 HRAMWRT
| ROM | ROM | / C080 HRAMRD
$D000|__________|__________|/ C057 HIRES
:__________:__________: C055 PAGE2
$BFFF| AUX | AUX |\ C008 ALTZP
$6000|__________|__________| \ C004 RAMWRT
| AUX | AUX | \C002 RAMRD
$4000|__________|__________| C000 80STORE
I/O Softswitch Memory Map Usage
$C0xy: 0 1 2 3 4 5 6 7 8 9 A B C D E F
$0y: x x x x x x x x x x x x x x x x
$1y: x x x x x x x x x x x x x x x x
$2y: x x x x x x x x x x - x x x x x
$3y: x x x x x x x x x x x x x x x x
$4y: x x x x x x x x x - - - - - - x
$5y: x x x x x x x x x x x x x x x x
$6y: x x x x x x x x x - - - - x x x
$7y: x - - x - - - x x x - - - - x x
$8y: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
$9y: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
$Ay: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
$By: 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
$Cy: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
$Dy: 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
$Ey: 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
$Fy: 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
Legend:
x used
- Free
0-7 Reserved for slot #
See:
History
Ver 5
- Added I/O Softswitch Map
Ver 4
- Version number now shown in top left
- Fixed 80STORE=1 display for HGR1 and TEXT1
- Removed most odd addresses in the main 48 KB as they were cluttering up the display too much.
Description
Languages
BASIC
68.9%
Assembly
30.4%
Makefile
0.7%

