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

Subversion Repositories klc32

[/] [klc32/] [trunk/] [software/] [bootrom.lst] - Blame information for rev 12

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 11 robfinch
                                                KEYBD           EQU             $FFDC0000
2
                                                KEYBDSTAT       EQU             $FFDC0002
3
 
4
FFFF0000                                        ORG     $FFFF0000
5
 
6
FFFF0000        24018000                        ORI     R1,R0,#$FFD00000
7
FFFF0004        FFD00000
8
FFFF0008        24020005                        ORI     R2,R0,#5
9
FFFF000C        24030020                        ORI     R3,R0,#32
10
FFFF0010        EC221800                        PUSH    R1/R2/R3
11
FFFF0014        57FF0060                        JSR             $FFFF0060
12
FFFF0018        D4620800                        POP             R3/R2/R1
13
FFFF001C        00000035                        STOP
14
 
15
FFFF0060                                        ORG $FFFF0060
16
FFFF0060        DBDE0018                        LINK    R30,#24
17
FFFF0064        24018000                        ORI     R1,R0,#$FFD00000
18
FFFF0068        FFD00000
19
FFFF006C        24020005                        ORI     R2,R0,#5
20
FFFF0070        24030020                        ORI     R3,R0,#32
21
FFFF0074                                J1:
22
FFFF0074        E4230000                        SH              R3,0(R1)
23
FFFF0078        10210002                        ADDI    R1,R1,#2
24
FFFF007C        14420001                        SUBI    R2,R2,#1
25
FFFF0080        4006FFF0                        BNE             CR0,J1
26
FFFF0084        07DE0018                        UNLK    R30
27
FFFF0088        00000022                        RTS             #0,#0
28
 
29
FFFF008C                                CheckForKey:
30
FFFF008C        C8018000                        LB              R1,KEYBD
31
FFFF0090        FFDC0000
32
FFFF0094        480B0800                        SMI             CR0,R1
33
FFFF0098        00000022                        RTS
34
 
35
FFFF009C                                GetKey:
36
FFFF009C        C8018000                        LB              R1,KEYBD
37
FFFF00A0        FFDC0000
38
FFFF00A4        C8008000                        LB              R0,KEYBDSTAT    ; clear keyboard strobe
39
FFFF00A8        FFDC0002
40
FFFF00AC        00000022                        RTS
41
 
42
 

powered by: WebSVN 2.1.0

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