Make your own free website on Tripod.com
Apple II multi-task OS


This is a modified version of Split Personality (originally published in NIBBLE magazine)that I've poked around with. Split Personality originally would create 2 useable memory maps for the Apple II, and you could switch between them. You could have two BASIC programs in memory at once and switch back and forth between them. Same goes for BINARY machine language programs.



I modified the code to initialize the RamWorks III card so you can have more than 2 Apple II memory maps available. You can have up to 16 with the RamWorks III card with 1 megabyte. The 80 column/1 meg card from Quality computers also works fine. Any RWIII compatible card will work.

You can use the memory map #1 for Apple programs with the following restrictions:
3CE contains the bank number. Dont write over it.
$300- ?? contains the switching code. Don't write over it either.
Use the 40 column and 80 column screens freely.
Switch to PR#3 when you want to switch to another bank.


You can use memory map #2 for Apple Programs with the following restrictions:
3CE contains the bank number. Dont write over it.
$300- ?? contains the switching code. Don't write over it either.
Only use the 80 column screen


You can use memory map#3-16 for Apple Programs with the following restrictions:
No display ability! (except for every other column in 80 column mode)
3CE contains the bank number. Dont write over it.
$300- ?? contains the switching code. Don't write over it either.




If you write to the screen in one memory map, the screen changes in the other map too.

Please take the source code and change it etc. Easy to understand code, easy to see what it is doing to the Apple II.

It sets up the memory map in Main memory. It then goes through a process of copying all of MAIN memory into the Aux. card (in three steps due to the way the memory switches work).

I have an interrupt handler that will allow you to turn MOUSECARD interrupts on and have the Apple II's switch back and forth between the two automatically (multitasking like Windows 95/98/2000 and MACOS!)

This program will not work with all other programs. You'll need a IIe or other Apple II with a RW III card.

DOS 3.3 will work fine from any of the banks.

To RUN:
]BRUN SETUPWOCK

To ADD a BANK :
]RUN ADDBANK
type the number of the bank you want to add
SETUPWOCK must be present in memory, so don't write over $8200-XXXX before you do this. Setup all your banks with this ASOFT program and then you can delete SETUPWOCK from memory.

To Switch to a bank you added:

]PRINT PEEK(974) (if it is 1, you are where you want to be, otherwise CALL 768)

]POKE 784,bank#
]CALL 768

Remember you don't have display abilities! CALL 768 to get back to the MAIN apple, and try TEXT, PR#3 to get display back.

I will upload the Interrupt handler soon.

TECH INFO:

SPLIT.PERS Switching code. Gets loaded into $300
SETUPWOCK Setup W/O RAM check. Gets loaded into $8200.
ADDBANK ASOFT to Add a bank and initialize it
WHICHBANK ASOFT to see which bank you're in

PEEKS/POKES/CALLS
------------------------------------------------------------------ POKE 784,BANK # Switch to another bank number CALL 768 do the switch PEEK(974) number of the apple currently running ($3CE) ------------------------------------------------------------------


Want to do:
Let bank#2 use 40 column display
Let bank#3-15 use 40 or 80 col display
Get PRODOS working again (stopped working a few v's ago)
Upload the interrupt handler
Fix the front end GUI up a bit and upload it



DOWNLOAD MTOS

You need shrinkint 8bit for this. comment on CSA2 programmer please.