Changeset 28 for trunk/page00/boot.asm

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

Add the ability to clear the screen, and use it in the boot OS screen

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/page00/boot.asm

    r27 r28  
    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,ReadKeypad 
     12 EXTERN DispHexA,DispHexHL,IPutC,ReadKeyboardKey,ReadKeypad,ClrLCDFull 
    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       call ClrLCDFull 
    464465       res indicOnly,(iy+indicFlags) 
    465466       call ReadKeypad 
     
    490491$$:    ld hl,6 
    491492       ld (curRow),hl 
    492        B_CALL getKey 
     493       B_CALL GetKey 
    493494       ld hl,7 
    494495       ld (curRow),hl 
     
    535536 
    536537StartBootLoader: 
    537        ld hl,6 
     538       ld hl,0 
    538539       ld (curRow),hl 
    539540       ld hl,sBoot 
    540541       call PutS 
     542BootLoaderKeyLoop: 
     543       B_CALL GetKey 
     544       cp skYEqu 
     545       jr z,$F 
     546       jr BootLoaderKeyLoop 
     547$$:    call ClrLCDFull 
    541548       jr TurnCalculatorOn 
    542 sBoot: DB "Boot Loader",0 
    543  
     549sBoot: DB "Select Boot OS",0CEh,0 
     550