RCA RMB-167 manual Rstisr

Page 17

;--- !!! ASSUMES 8000h-FFFFh is RAM !!! ---

;org 08000h

cmdbuf equ

08000h

 

pbuffr equ

08020h

 

;---------------------------------------------------

 

 

 

org

 

0

 

; RESET vector

RSTISR

 

proc

near

 

jmp

 

cc_UC, mon

; branch to monitor

RSTISR

 

endp

near

 

org

 

00008h

 

; NMI vector

NMISR

 

proc

near

 

jmp

 

cc_UC, mon

; branch to monitor

NMISR

 

endp

near

 

; --------------------------------------------------

 

 

 

org

01000h

 

 

; --------------------------------------------------

 

 

 

; --- monitor program ---

MON proc

 

near

 

 

mov

 

SYSCON, #0F800h ; #1111 1000

;0000 0000 b nop

mov

SYSCON, #0F800h ; #1111 1000

 

; 0000 0000 b

 

nop

 

 

; --- initialize CPS -------------------------------

 

 

;0xFA 0x00 0x10 0x80 ; jmps far 1000h ;

 

(jump to next1) ; far intersegment jump to update CPS

 

 

;next1:

 

 

dw 000FAh

 

next1:

dw 01010h

 

 

 

; --- initialize DPPx ------------------------------

 

mov

DPP0, #0

 

.

 

 

.

 

 

( no changes to the code here )

 

.

 

 

.

 

 

; --------------------------------------------------

;---

message

strings ---

; --------------------------------------------------

EVEN msggreet:

db 0ah, 0dh, ’SAB-C167 MONITOR IN EPROM > ’, 0

.

.

.

( no changes to the code here )

As mentioned, the address of register SYSCON is different (89h) in the C167. The instruction setting the SYSCON register is a move instruction. In machine code, the instruction takes four bytes: E6h, 89h, 00h, F8h, which may be hand-coded as,

-11-

Image 17
Contents USER’S Guide Page Page Warranty Table Of Contents 10.1.1 READS166 Evaluation Software Overview HardwareParts List Software Software Installation, READS166System Requirements Third Party SoftwareSTART-UP Connections, Jumper SettingsSoftware Initialization Serial NumberBootstrapping A D S C O M M a N D S Verifying that the Monitor is LoadedHardware Set-up TroubleshootingSoftware Set-up PC set-upOperating Notes PowerSerial port Jumper SelectionRAM Memory Options Memory OptionsEprom Memory Options Alternate Memory Map with Eprom in Low MemoryEprom CFG1 Moving RMON167 to EpromRstisr Syscon is 89h on the 167 dw 089E6h Dw 0F800h Nop Mov 1 U1 Equations Default GAL EquationsGAL Equations 1 U1 Equations For Eprom In Low Memory Alternate GAL EquationsU2 Equations 2 U2 Equations For Eprom In Low Memory Equations Pins Signal JP6 System Header SignalHeaders and Jumpers System and I / O Headers166 JP2 JP7 JP7 Input/Output Header SignalSignal RMB-167 JP8 Extra Input/Output Header of the RMB-167 SignalPins Analog-to-Digital Converter Reference Jumpers S0RIR BootstrappingDiswdt Einit Mov R1, #0A55Ah Minimal Monitor MON167 Monitor Port ConfigurationDownload HEX file HelpWord Memory Port DataREADS166 V3.00 Concepts READS166 VersionModule Executable ProjectsArchive Projects Circuit Diagrams