Changeset 59 for trunk/page00/boot.asm
- Timestamp:
- 11/01/09 14:00:18 (3 years ago)
- Files:
-
- 1 modified
-
trunk/page00/boot.asm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/page00/boot.asm
r58 r59 806 806 ld hl,sTIOS-BootLoader+userMem 807 807 $$: B_CALL PutS 808 ld hl,5 809 ld (curRow),hl 810 ld hl,sInstructions-BootLoader+userMem 811 B_CALL PutS 808 812 ld hl,6 809 813 ld (curRow),hl 810 ld hl,sInstructions -BootLoader+userMem814 ld hl,sInstructions2-BootLoader+userMem 811 815 B_CALL PutS 812 816 ld hl,7 … … 821 825 cp skDel 822 826 jr z,ReceiveTIOS 827 cp sk0 828 jr z,DeleteOS 823 829 ld hl,contrast 824 830 cp skAdd … … 940 946 B_CALL ClrLCDFull 941 947 rst 00h 948 DeleteOS: 949 call UniversalUnlockFlash-BootLoader+userMem 950 ld a,70h 951 ld b,0 952 ld de,4056h 953 B_CALL WriteAByte 954 ;Restart. 955 rst 00h 942 956 ReceiveTIOS: 943 957 ;We don't have a copy of the TI-OS, receive one … … 973 987 ld a,70h 974 988 out (memPageAPort),a 975 ld hl,(4000h) 976 inc hl 977 ld a,h 978 or l 989 ld a,(4000h+0056h) 990 ;HACK: be smarter about this... 991 cp 5Ah 992 jr z,$F 993 xor a 994 jr NZIfTIOSExists_1 995 $$: or 1 996 NZIfTIOSExists_1: 979 997 pop bc 980 998 ld a,b … … 1191 1209 sInstructions: 1192 1210 DB LlBrack,"Y=] to switch",0CEh,0 1211 sInstructions2: 1212 DB LlBrack,"0] to delete",0CEh,0 1193 1213 sClearToCancel: 1194 1214 DB LlBrack,"CLEAR] to exit",0
