Changeset 27 for trunk/page00/boot.asm

Show
Ignore:
Timestamp:
08/02/09 02:04:27 (3 years ago)
Author:
brandonlw
Message:

Now you can hold [X,T,theta,n] when booting to go to a "Select Boot OS" screen, where you choose to either boot OS2 or the TI-OS (if present)
It doesn't actually do anything of course, but you can look at a different screen now if you hold the key down. Progress...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/page00/boot.asm

    r24 r27  
    1010 EXTERN Placeholder005Fh,Placeholder0006h,Placeholder004Eh,Placeholder0003h,Placeholder0035h 
    1111 EXTERN outputPage,NZIf83Plus,_ZERO_PORT_3,_OUT_PORT_3,AnimateRunIndicator,PowerOff 
    12  EXTERN DispHexA,DispHexHL,IPutC,ReadKeyboardKey 
     12 EXTERN DispHexA,DispHexHL,IPutC,ReadKeyboardKey,ReadKeypad 
    1313 EXTERN curBlink,resetAPDTimer,UpdateAPD,BCALL,BJUMP 
    1414 EXTERN _HandleDefaultUSBInterrupt,_ReadUSBInterruptData,_HandleUSBInterruptInitialize 
     
    462462       set onRunning,(iy+onFlags) 
    463463;Start the OS, minimal as it is 
     464       res indicOnly,(iy+indicFlags) 
     465       call ReadKeypad 
     466       cp skGraphvar 
     467       jr z,StartBootLoader 
    464468       ld hl,0 
    465469       ld (appBackUpScreen+50),hl 
     
    530534       DB "This is a test!",0 
    531535 
     536StartBootLoader: 
     537       ld hl,6 
     538       ld (curRow),hl 
     539       ld hl,sBoot 
     540       call PutS 
     541       jr TurnCalculatorOn 
     542sBoot: DB "Boot Loader",0 
     543