Finally, work resumes…

Today we finally got around to set up a test bench for the logic chip. Not fancy and not particularly elaborat, but just enough to get us going forward.

Test setup for logic chips.

This setup was what we needed to verify the logic CUPL code. And I’m really pleased with the neat led-board i made:

Led-board for breadboard

The updated code will generate the following memory map (For Stage2 & Stage3):

IO UnitAddressRegister
Memory Mapper$F400MemBlock0
$F401MemBlock1
$F402MemBlock2
$F403MemBlock3
IRQ Handler$F404IRQRead/IRQMask
Power LED$F405PowerLedStatus
PS2$F406Keyboard
$F407Mouse
CF$F410DataRegister
$F411ErrorReg/FeatureReg
$F412SectorCountReg
$F413SectorNumberReg
$F414CylinderLowReg
$F415CylinderHighReg
$F416DriveHeadReg
$F417StatusReg/CommandReg
$F418Unused
$F419Unused
$F41AUnused
$F41BUnused
$F41CUnused
$F41DUnused
$F41EAltStatusReg/DeviceControlReg
$F41FDriveAddressReg
Parallel (VIA)$F420InputRegB/OutputRegB
$F421InputRegA/OutputRegA
$F422DataDirectionRegB
$F423DataDirectionRegA
$F424T1CounterLow / T1LatchLow
$F425T1CounterHigh
$F426T1LatchLow
$F427T1LatchHigh
$F428T2CounterLow/T2LatchLow
$F429T2CounterHigh
$F42AShiftReg
$F42BAuxControlReg
$F42CPeripheralControlReg
$F42DInterruptFlagReg
$F42EInterruptEnableReg
$F42FInputRegA/OutputRegA
Serial (XR88C92)$F430ModeRegA
$F431StatusRegA/ClockSelectRegA
$F432CommandRegA
$F433RXBufferA/TXBufferA
$F434InputPortChangeReg/AuxControlReg
$F435InterruptStatusReg/InterruptMaskReg
$F436CountTimerUpperReg/CountPreloadUpperReg
$F437CountTimerLowerReg/CountPreloadLowerReg
$F438ModeRegB
$F439StatusRegB/ClockSelectRegB
$F439CommandRegB
$F439RXBufferB/TXBufferB
$F439GeneralPurposeReg
$F439InputPortReg/OutputPortControlReg
$F439StartCTCommand/SetOutputPortReg
$F439StopCTCommand/ResetOutputPortReg
Graphics$F440 – $F47F
Audio L$F480 – $F4BF
Audio R$F4C0 – $F4FF
Expansion Port$F500 – $F7FF

So now we need to put all this together on the stage 2 board and start testing that!

Forward and onwards!!!

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.