OpenCores
URL https://opencores.org/ocsvn/m32632/m32632/trunk

Subversion Repositories m32632

[/] [m32632/] [trunk/] [TRIPUTER/] [monitor.32K] - Diff between revs 35 and 50

Show entire file | Details | Blame | View Log

Rev 35 Rev 50
Line 1... Line 1...
; MONITOR for TRIPUTER V0.1
; MONITOR for TRIPUTER V0.1
; 27 May 2017
; 27 May 2017
 
; updated 25 January 2021
sramsize  .equ x'8000
sramsize  .equ x'8000
 
 
        movd x'20000010,r0
        movd x'20000010,r0
        jump r0
        jump r0
 
 
        .align 16
        .align 16
 
        movd 100000,r0          ; wait some ms until reset stable (board dependent)
 
wloop:  acbd -1,r0,wloop
        movd x'20400000,r1      ; address of LEDs
        movd x'20400000,r1      ; address of LEDs
        movqd 0,0(r1)           ; all went off
        movqd 0,0(r1)           ; all went off
        movd x'FFFF,4(r1)               ; the seven segment went off
        movd x'FFFF,4(r1)               ; the seven segment went off
        lprd cfg,x'BF6
        lprd cfg,x'BF6
        lprd sp,x'300
        lprd sp,x'300
Line 168... Line 171...
        bsr out
        bsr out
        movb ' ',r0
        movb ' ',r0
        bsr out
        bsr out
        movb 8,r0
        movb 8,r0
        br sys0
        br sys0
 
; Here is some confusion about CR and LF operation with a terminal
sys5:   cmpb 13,r0                      ; CR only output
sys5:   cmpb 13,r0                      ; CR only output
        beq sys0
        bne sys_x               ; was earlier sys0
 
        bsr out
 
        movb 10,r0
 
sys_x:
        cmpb 10,r0                      ; LF now analyzing input
        cmpb 10,r0                      ; LF now analyzing input
        bne new
        bne new
; Analyzing input:
; Analyzing input:
        bsr out
        bsr out
        sprd sb,r2
        sprd sb,r2

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.