🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #2099

Re: ACTION! and DOS XL

#2099
From: Harald Striepe
Date: Thu, 16 Jan 1986 23:09
38 lines
1545 bytes
> 
> On the subject of bank switching in the supercartridges, does anyone
> know the software proceedure for getting the cartridge to swap?
> Perhaps writing to a particular address in the cartridge address
> space?  

The "SuperCartridges" make use of the CARTSEL (?) line at $D500.

Typically,  the lower 4K of cart space are switched ($A000-$AFFF).

Location $AFFF contains the current bank number (I think....).

To switch,  simply load the bank number in X,  and store the accumulator
at $D500 X indexed.

Bank 8 switches out the complete cart to make RAM available (all 8K).
Selecting any valid bank restores the cart.

e.g.:	select bank 0

	LDX #0
	STA $D500,X

	select RAM

	LDX #8
	STA $D500,X
Dont't forget to worry about the display location and OS database when
making the cart appear and disappear....



-- 
Harald Striepe
DEC APB-WEST
decwrl!muscat!striepe
decwrl!dec-rhea!dec-winery!striepe
WINERY::STRIEPE
Technical Details
Message-ID: <115@muscat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!muscat!striepe
References: <860115113348.02k@CITHex>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site muscat.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!muscat!striepe
From: striepe@muscat.UUCP (Harald Striepe)
Newsgroups: net.micro.atari
Subject: Re: ACTION! and DOS XL
Message-ID: <115@muscat.UUCP>
Date: Thu, 16-Jan-86 18:09:49 EST
Article-I.D.: muscat.115
Posted: Thu Jan 16 18:09:49 1986
Date-Received: Sat, 18-Jan-86 07:46:26 EST
References: <860115113348.02k@CITHex>
Organization: DEC Western Region Operations, Santa Clara, CA
Lines: 38