Changeset 27 for trunk/page01/01base.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/page01/01base.asm

    r20 r27  
    88 
    99GetKey: 
    10        res 5,(iy+3Dh) 
    1110       in a,(2) 
    1211       and 80h 
    13        jr z,$F 
     12       jr z,GetKeyStart 
    1413       set linkAssistEnabled,(iy+linkAssistFlags) 
    1514       in a,(laStatusPort) 
     
    2928       ld a,80h 
    3029       out (8),a 
    31 $$: 
     30GetKeyStart: 
     31       xor a 
    3232GetKeyMainLoop: 
    3333       call DisplayShift 
     
    3838       xor a 
    3939       ret 
    40 $$:    or a 
     40$$:    call GetCSC 
     41       or a 
    4142       jr nz,scanCodeFound 
    4243       call HandleLinkKeyActivity 
     
    4445       and 80h 
    4546       jr z,$F 
    46        ld a,(9CAFh) 
    47        or a 
    48        jr nz,isReceivingData 
    4947       bit 0,(iy+3Eh) 
    5048       jr z,$F 
    51        in a,(9) 
     49       in a,(laStatusPort) 
    5250       bit 6,a 
    5351       jr z,noError