User Rating: / 1
PoorBest 

Memory Map for Firefox Main PCB - Main Processor

 

Jed Margolin

 

1/9/84

 

-------------------------------------------------------------------------------

0000 - 07FF R/W RAM 0 (not)

 

0800 - 0FFF R/W RAM 1 (not)

-------------------------------------------------------------------------------

1000 - 1FFF R/W ALPHA (not) Graphics Alphanumerics

 

2000 - 2FFF R/W MOTION (not) Graphics Motion Objects

-------------------------------------------------------------------------------

3000 - 3FFF R TABLE (not) Table Rom, (32) 4K segments

selected by WRTREG

-------------------------------------------------------------------------------

4000 - 40FF R/W NOVRAM (not)

-------------------------------------------------------------------------------

4100 - 41FF R INPUTS (not)

 

4100 R RDIN 0 (not)    0 = active

 

D7 - Left Fire

D6 - Right Fire

D5 - Left Thumb

D4 - Right Thumb

D3 - Slam

D2 - Self-Test

D1 - Spare

D0 - unused

 

 

4101 R RDIN 1 (not)

 

D7 - MAIN FLAG  (Sound processor)

D6 - SOUNDFLAG  (Sound Processor)

D5 - VBLANK

D4 - Diagnostic  (0 = active)

D3 - unused

D2 - COIN AUX (0 = active)

D1 - COIN LEFT (0 = active)

D0 - COIN RIGHT  (0 = active)

 

4102 R RDIN 2 (not)

D7 - DSK DAV

D6 - DSK FULL

D5 - DISK OPR

4103 R OPT 0  (not) Option Switch 0

 

4104 R OPT 1  (not) Option Switch 1

 

4105 R DREAD  (not) Disc Interface: Read Input Data,

(Resets RD DSK Line)

 

4106 R RDSOUND(not) Sound Interface: Read Input Data,

(Resets Sound Flag)

 

4107 R ADC    (not) A/D Converter Output

-------------------------------------------------------------------------------

4200 - 4238 W OUTPUTS (not) Strobed by 6809 Store Instructions,

No Data Required

 

4200 W RSTIRQ(not) Reset IRQ Latch

 

4208 W RSTFIRQ(not) Reset FIRQ Latch

 

4210 W WDCLR(not) Reset Watchdog Timer (32 ms timeout)

 

4218 W DSKREAD(not) Disc Interface, set up for DREAD(not)

 

4220 W ADCSTART(not) Start A/D Converter, Channel 0;

Do STA, NOP, STA.

 

4221 W ADCSTART(not) Start A/D Converter, Channel 1

Do STA, NOP, STA.

 

4228 W unused

 

4230 W AMUCK(not) Causes Hardware RESET when 6809 runs amuck.

 

4238 W unused

 

-------------------------------------------------------------------------------

 

4280 - 4287 W Latched output bits,   D7 = Latched Data Bit

4280 W NVRECALL Recall NOVRAM, 1=Recall

4281 W RSTSOUND Reset Sound Processor, 1=Reset

4282 W NVRSTORE Store NOVRAM, 1 = Store

4283 W LOCK(not) 0=Disc Lock, 1=Graphics Board Lock

4284 W SWDSKR Right Disk Audio Enable, 1=on

4285 W SWDSKL Left Disk Audio Enable, 1=on

4286 W RSTDSK(not)

4287 W WRDSK(not) 0 = Set up Disc Interface to do Write

 

 

4288 - 428F W Latched output bits,   D7 = Latched Data Bit

4288 W COIN COUNTER 2, 1=on

4289 W COIN COUNTER 1, 1=on

428A W unused

428B W unused

428C W LED 1, 0=on

428D W LED 2, 0=on

428E W LED 3, 0=on

428F W LED 4, 0=on

 

-------------------------------------------------------------------------------

4290 - 42B8 W OUTPUTS (not) Strobed by 6809 Store Instructions,

No Data Required

 

4290 W WRTREG Write Table Register, D0-D4

 

4298 W WRSOUND Write Sound Interface Register

 

42A0 W DSKLATCH Write to Disc Interface Latch

 

42A8 W unused

 

42B0 W unused

 

42B8 W unused

 

-------------------------------------------------------------------------------

4300 - 43FF R/W unused

-------------------------------------------------------------------------------

4400 - 7FFF R ROM 0 (15K)

 

8000 - BFFF R ROM 1 (16K)

 

C000 - FFFF R ROM 2 (16K)

-------------------------------------------------------------------------------

 

 

Notes:

 

1. When using A/D Converter, only one channel can be used at a time.

To start it, use two 6809 store instructions, separated by a NOP.

Example: STA ADCSTART+1

NOP

STA ADCSTART+1

 

2. To Read the Disc Interface: Set the DSKREAD Line (to turn on the

Disc's Latch output), then read DREAD. (This will Reset DSKREAD.

Example:

STA DSKREAD

LDA DREAD

 

ACCA contains input data

 

3. To Write to the Disc Interface: Write the Data to the DSKLATCH,

make WRDSK Low, then make WRDSK high. (This must be done with

minimal delay.)

Example:

ACCA contains Data

STA DSKLATCH

CLRA

LDB #0FF

STA WRDSK

STB WRDSK

Memory Map for Firefox Main PCB - Sound Processor

 

 

 

0000 - 07FF R/W SRAM (not) Sound Processor Program RAM

-------------------------------------------------------------------------------

0800 - 087F R/W PIA (RAM)

0880 R/W     PIA (PORT A DATA)

0881 R/W     PIA (PORT A DIR)

0882 R/W     PIA (PORT B DATA)

0883 R/W     PIA (PORT B DIR)

0884-089F R/W     PIA (CONTROL)

-------------------------------------------------------------------------------

1000 R SI (not) Read interface input latch

1800 W SO (not) Write to interface output latch

-------------------------------------------------------------------------------

2000-2007 R/W     CIO-0 (SOUND)

2008-200F R/W     CIO-0 (CONTROL)

 

2800-2807 R/W     CIO-1 (SOUND)

2808-280F R/W     CIO-1 (CONTROL)

 

3000-3007 R/W     CIO-2 (SOUND)

3008-300F R/W     CIO-2 (CONTROL)

 

3800-3807 R/W     CIO-3 (SOUND)

3808-380F R/W     CIO-3 (CONTROL)

-------------------------------------------------------------------------------

4000 - 7FFF R SROM 0 (not)    (16K)

 

8000 - BFFF R SROM 1 (not)    (16K)

 

C000 - FFFF R SROM 2 (not)    (16K)