Skip to content

Commit

Permalink
Fix left bracket display in ROM list.
Browse files Browse the repository at this point in the history
  • Loading branch information
calc84maniac committed May 28, 2018
1 parent 161a1b9 commit c670e76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 11 additions & 1 deletion setup.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1953,8 +1953,18 @@ DrawMenuItem:
ld de,9
add hl,de
ld b,(hl)
DrawMenuItemLoop:
inc hl
jp _VPutSN
ld a,(hl)
; Handle TI-ASCII annoyances
cp '['
jr nz,_
ld a,LlBrack
_
call _VPutMap
ret c
djnz DrawMenuItemLoop
ret
; Input: rtc_last
; Output: HLIX = 48-bit timestamp based on current time
Expand Down
5 changes: 3 additions & 2 deletions tiboyce.asm
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ _DelMem = $020590
_ErrUndefined = $020764
_ClrLCDFull = $020808
_HomeUp = $020828
_VPutMap = $020830
_VPutS = $020834
_VPutSN = $020838
_RunIndicOff = $020848
_createAppVar = $021330
_DelVarArc = $021434
Expand All @@ -133,10 +133,11 @@ osMonth = $D177DB
userMem = $D1A881
vRam = $D40000

; Tokens used
; Tokens/characters used
appVarObj = $15
tExtTok = $EF
tAsm84CeCmp = $7B
LlBrack = $C1

; OS flags used
graphFlags = $03
Expand Down

0 comments on commit c670e76

Please sign in to comment.