Changeset 5
- Timestamp:
- 07/25/09 00:02:56 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
includes/os2.inc (modified) (3 diffs)
-
page00/boot.asm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/os2.inc
r4 r5 24 24 25 25 ;====================================================================== 26 ; Entry Points26 ; OS2 Entry Points 27 27 ;====================================================================== 28 28 _keyscnlnk EQU 4A1Ah 29 _getKey EQU 4972h 30 31 ;====================================================================== 32 ; Boot Code Entry Points 33 ;====================================================================== 34 _WriteAByte EQU 8021h 29 35 _DispBootVer EQU 808Ah 30 _WriteAByte EQU 8021h31 36 32 37 ;====================================================================== 33 38 ; System-defined RAM Variable Address Equates 34 39 ;====================================================================== 35 ramStart EQU 8000h 36 appData EQU 8000h 37 ramCode EQU 8100h 38 ramCodeEnd EQU 822Fh 39 userMem EQU 9D95h 40 symTable EQU 0FE66h 40 ramStart EQU 8000h 41 appData EQU 8000h 42 ramCode EQU 8100h 43 ; 44 ramCodeEnd EQU 822Fh 45 ; 46 apdSubTimer EQU 8448h 47 apdTimer EQU 8449h 48 curTime EQU 844Ah 49 curRow EQU 844Bh 50 curCol EQU 844Ch 51 ; 52 curUnder EQU 844Eh 53 ; 54 flags EQU 89F0h ;IY is always set to this 55 ; 56 statVars EQU 8A3Ah 57 ; 58 anovaf_vars EQU 8C17h 59 ; 60 editTop EQU 96F4h 61 editCursor EQU 96F6h 62 editTail EQU 96F8h 63 editBtm EQU 96FAh 64 ; 65 userMem EQU 9D95h 66 symTable EQU 0FE66h 41 67 42 68 ;====================================================================== … … 58 84 ; System and State Flags 59 85 ;====================================================================== 86 apdFlags EQU 08h ;Automatic Power Down 87 apdAble EQU 2 ;1=APD enabled 88 apdRunning EQU 3 ;1=APD clock running 60 89 61 90 ;---------------------------------------------------------------------- … … 2811 2840 D0HD1H EQU 00h 2812 2841 bport EQU 0 ; 4-BIT LINK PORT (I/O) 2813 ; 2814 ;====================================================================== 2815 ; Interrupt equates 2816 ;====================================================================== 2817 ; 2818 iAll EQU 1011b 2819 intrptEnPort equ 3 ; interrupt enable (in/out) 2820 ; 2842 2843 ;====================================================================== 2844 ; Interrupt Equates 2845 ;====================================================================== 2846 intrptEnPort EQU 3 ;interrupt enable (in/out) 2847 iNormal EQU 1011b 2848 INTERRUPT_MASK_ON EQU 00000001b 2849 INTERRUPT_MASK_HW1 EQU 00000010b 2850 INTERRUPT_MASK_HW2 EQU 00000100b 2851 INTERRUPT_MASK_POWER EQU 00001000b 2852 INTERRUPT_MASK_LINK EQU 00010000b 2853 2821 2854 ;====================================================================== 2822 2855 ; Memory paging equates -
trunk/page00/boot.asm
r3 r5 613 613 ld (curRow),hl 614 614 ei 615 B_CALL GetKey615 B_CALL getKey 616 616 or a 617 617 jr z,$B
