Files
Shawn Quick dfcaae62dd Add qlink, the disk tools, and a bootable ProDOS 8 image.
Move the assembler to src/qasm. qlink links OMF 1.0 and 2.0 from a script. makeBin flattens a load file, qomf dumps OMF, and qpro builds ProDOS volumes. APW and MPW assemble through the ORCA front end. Relocatable modules emit OMF objects. Listings stay off unless -l is set.

make boot assembles the GS/OS 6.0.1 ProDOS 8 kernel and BASIC.SYSTEM into an 800K volume. BASIC.SYSTEM accepts ls and pfx, and its splash reports PRODOS BASIC 2.0, copyright 1983-2026. IIGS.601.SRC is the source and the BASIC.SYSTEM oracle that image is built from.
2026-10-16 14:41:55 -07:00

1 line
3.0 KiB
NASM

**********************************************************************
*
* Line Edit Equates
*
*
* Copyright Apple Computer, Inc. 1989-92
* All Rights Reserved.
*
***********************************************************************
;-----------------------------------------------------------
;
; System Equates
;-----------------------------------------------------------
IncBusyFlg equ $E10064
DecBusyFlg equ $E10068
TickCnt equ $E100DC
;------------------------------------------
;
; Equ from DATA
;
;------------------------------------------
LEVerNum equ $0304 ;1-Apr-93 SS
LETSNum equ $14 ;tool set num for Line Edit
InitErr equ $1401 ;duplicate init call
ResetErr equ $1402 ;can't reset Line Edit
ActiveErr equ $1403 ;Line Edit not active
DSErr equ $1404 ;desk scrap too big
MaxChars equ 256 ;maximum # chars in line
ScrapType equ 0 ;used for calls to Scrap Manager
*---------------------------------------------------------------
* Line Edit Record
*---------------------------------------------------------------
leRec equ 0
leLineHandle equ leRec ;00 must be first field in record
leLength equ leLineHandle+4 ;04
leMaxLength equ leLength+2 ;06
leDestRect equ leMaxLength+2 ;08
leViewRect equ leDestRect+8 ;10
lePort equ leViewRect+8 ;18
leLineHite equ lePort+4 ;1C
leBaseHite equ leLineHite+2 ;1E
leSelStart equ leBaseHite+2 ;20
leSelEnd equ leSelStart+2 ;22
leActFlg equ leSelEnd+2 ;24
leCarAct equ leActFlg+2 ;26
leCarOn equ leCarAct+2 ;28
leCarTime equ leCarOn+2 ;2A
leHiliteHook equ leCarTime+4 ;2E
leCaretHook equ leHiliteHook+4 ;32
leJust equ leCaretHook+4 ;36 ** added 3-6-87 CAE **
lePWChar equ leJust+2 ;38
leHScrollPos equ lePWChar+2 ;3A ** added 10-Mar-91 DAL **
LERecSize equ leHScrollPos+2
defaultPWChar equ $D7 ;hollow diamond (5-Sep-91 DAL)
*---------------------------------------------------------------
* Line Edit Zero Page
*---------------------------------------------------------------
LEZBase equ 0
TempWord1 equ LEZBase ;00
TempWord2 equ TempWord1+2 ;02
TempPtr1 equ TempWord2+2 ;04
TempPtr2 equ TempPtr1+4 ;08
SavePort equ TempPtr2+4 ;0C
SaveClip equ SavePort+4 ;10
TextPtr equ SaveClip+4 ;14
TextLength equ TextPtr+4 ;18
RecHandle equ TextLength+2 ;1A
RecPtr equ RecHandle+4 ;1E
LineHandle equ RecPtr+4 ;22
LinePtr equ LineHandle+4 ;26
ScrapHandle equ LinePtr+4 ;2A
ScrapLength equ ScrapHandle+4 ;2E
StartPtr equ ScrapLength+2 ;30
DispStart equ StartPtr+4 ;34
DispEnd equ DispStart+2 ;36
WordStart equ DispEnd+2 ;38
WordEnd equ WordStart+2 ;3A
SelPoint equ WordEnd+2 ;3C
SelRect equ SelPoint+4 ;40
ClickLoc equ SelRect+8 ;48
ClickTime equ ClickLoc+2 ;4A
DoubleTime equ ClickTime+4 ;4E
DoubleClick equ DoubleTime+2 ;50
RevFlag equ DoubleClick+2 ;52
ErrFlag equ RevFlag+2 ;54
TheChar equ ErrFlag+2 ;56
Mods equ TheChar+2 ;58
BNum equ Mods+2 ;5A
ProgID equ BNum+2 ;5C
StripSize equ ProgID+2 ;5E
MeasureTemp equ StripSize+2 ;60
OriginalXPos equ MeasureTemp+2 ;62 (word)
MaxScrollPos equ OriginalXPos+2 ;64 (word) 22-Jan-92 DAL
DestWidth equ MaxScrollPos+2 ;66 (word) 22-Jan-92 DAL