Changeset 32 for trunk/page00/boot.asm

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

Committing the start of some direct USB code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/page00/boot.asm

    r31 r32  
    474474       cp skGraphvar 
    475475       jr z,StartBootLoader 
    476 $$:    ld hl,0 
    477        ld (appBackUpScreen+50),hl 
    478        ld (appBackUpScreen+52),hl 
    479        set indicRun,(iy+indicFlags) 
     476$$:    set indicRun,(iy+indicFlags) 
    480477       ld hl,1 
    481478       ld (curRow),hl 
     
    502499       ld (curRow),hl 
    503500       call DispHexA 
    504        cp 36h 
    505        jr z,waitOnByte 
    506501       cp 37h 
    507502       jr nz,notKey 
     
    513508       call z,PowerOff 
    514509       jr $B 
    515 waitOnByte: 
    516        di 
    517        res curAble,(iy+curFlags) 
    518        ld hl,(curRow) 
    519        push hl 
    520        ld hl,handler 
    521        call APP_PUSH_ERRORH 
    522        ld hl,2 
    523        ld (curRow),hl 
    524        ld a,6 
    525        call PutC 
    526        B_CALL Rec1stByteNC 
    527        call DispHexA 
    528        B_CALL RecAByteIO 
    529        call DispHexA 
    530        B_CALL RecAByteIO 
    531        call DispHexA 
    532        B_CALL RecAByteIO 
    533        call DispHexA 
    534        call APP_POP_ERRORH 
    535 handler: 
    536        pop hl 
    537        ld (curRow),hl 
    538        res indicOnly,(iy+indicFlags) 
    539        set curAble,(iy+curFlags) 
    540        jr $B 
    541510sTest: 
    542511       DB "This is a test!",0 
    543512 
    544513StartBootLoader: 
     514;TODO: this whole thing eventually needs to run from sector 70h or wherever I back myself up to 
    545515       res indicOnly,(iy+indicFlags) 
    546516       res curAble,(iy+curFlags)