Changeset 27
- Timestamp:
- 08/02/09 02:04:27 (3 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
page00/boot.asm (modified) (3 diffs)
-
page00/input.asm (modified) (1 diff)
-
page01/01base.asm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/page00/boot.asm
r24 r27 10 10 EXTERN Placeholder005Fh,Placeholder0006h,Placeholder004Eh,Placeholder0003h,Placeholder0035h 11 11 EXTERN outputPage,NZIf83Plus,_ZERO_PORT_3,_OUT_PORT_3,AnimateRunIndicator,PowerOff 12 EXTERN DispHexA,DispHexHL,IPutC,ReadKeyboardKey 12 EXTERN DispHexA,DispHexHL,IPutC,ReadKeyboardKey,ReadKeypad 13 13 EXTERN curBlink,resetAPDTimer,UpdateAPD,BCALL,BJUMP 14 14 EXTERN _HandleDefaultUSBInterrupt,_ReadUSBInterruptData,_HandleUSBInterruptInitialize … … 462 462 set onRunning,(iy+onFlags) 463 463 ;Start the OS, minimal as it is 464 res indicOnly,(iy+indicFlags) 465 call ReadKeypad 466 cp skGraphvar 467 jr z,StartBootLoader 464 468 ld hl,0 465 469 ld (appBackUpScreen+50),hl … … 530 534 DB "This is a test!",0 531 535 536 StartBootLoader: 537 ld hl,6 538 ld (curRow),hl 539 ld hl,sBoot 540 call PutS 541 jr TurnCalculatorOn 542 sBoot: DB "Boot Loader",0 543 -
trunk/page00/input.asm
r12 r27 4 4 include "includes\os2.inc" 5 5 6 PUBLIC ReadKeyboardKey,GetCSC,HandleLinkKeyActivity 6 PUBLIC ReadKeyboardKey,GetCSC,HandleLinkKeyActivity,ReadKeypad 7 7 EXTERN NZIf83Plus 8 8 -
trunk/page01/01base.asm
r20 r27 8 8 9 9 GetKey: 10 res 5,(iy+3Dh)11 10 in a,(2) 12 11 and 80h 13 jr z, $F12 jr z,GetKeyStart 14 13 set linkAssistEnabled,(iy+linkAssistFlags) 15 14 in a,(laStatusPort) … … 29 28 ld a,80h 30 29 out (8),a 31 $$: 30 GetKeyStart: 31 xor a 32 32 GetKeyMainLoop: 33 33 call DisplayShift … … 38 38 xor a 39 39 ret 40 $$: or a 40 $$: call GetCSC 41 or a 41 42 jr nz,scanCodeFound 42 43 call HandleLinkKeyActivity … … 44 45 and 80h 45 46 jr z,$F 46 ld a,(9CAFh)47 or a48 jr nz,isReceivingData49 47 bit 0,(iy+3Eh) 50 48 jr z,$F 51 in a,( 9)49 in a,(laStatusPort) 52 50 bit 6,a 53 51 jr z,noError
