Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
private
/
Projet
:
AX-B32ST.ASM
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
* Axiom Debug12 start code for B32 ... * 4/30/98 * This is a sample of setting up the bus interface * it can be used in Single chip mode to enable the Bus also. * Axiom boards only support the Nomal Wide Bus for the B32 processor * due to the need to latch the all 16 bits of the address. org $F700 Start LDS #$0C00 ; SET STACK TO TOP OF INTERNAL RAM CLR $0016 ; COP TIMER OFF LDX #$0800 ; PREP TO CLEAR INTERNAL RAM CLRLP CLR 1,X+ ; CLEAR INTERNAL RAM CPX #$0C00 ; BNE CLRLP ; LDD #$8CF4 ; ENABLE EXPANDED WIDE BUS STD $0A LDD #$FCE0 ; SET EEPROM ON STD $F0 ; * LDAA #$77 ; SET MISC REGISTER, Flash on LDAA #$76 ; SET MISC REGISTER, Flash off STAA $13 ; LDAA #01 ; lock Flash EEprom * LDAA #00 ; Flash EEprom unlocked END