optimizing

This commit is contained in:
Antoine Vignau 2023-08-18 08:48:21 +02:00
parent a032f9492c
commit 49350dcf1d
5 changed files with 4272 additions and 4254 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1440,6 +1440,8 @@ y_coord = *
*--- *---
* Apple Atari * Apple Atari
* 22 " 7E
* 82 80
* 88 ˆ 85 * 88 ˆ 85
* 89 83 * 89 83
* 8D <EFBFBD> 87 * 8D <EFBFBD> 87
@ -1461,8 +1463,8 @@ tblATARI hex 000102030405060708090A0B0C0D0E0F
hex 404142434445464748494A4B4C4D4E4F hex 404142434445464748494A4B4C4D4E4F
hex 505152535455565758595A5B5C5D5E5F hex 505152535455565758595A5B5C5D5E5F
hex 606162636465666768696A6B6C6D6E6F hex 606162636465666768696A6B6C6D6E6F
hex 707172737475767778797A7B7C7D7E7F hex 707172737475767778797A7B7C7D227F
hex 80818E898488868D88898F90948D8E8F hex 82818E898488868D90898F90948D8E8F
hex 909192999495969E98999A9B9C9D9E9F hex 909192999495969E98999A9B9C9D9E9F
hex A0A1A2A3A4A5A6A7A8A9AAABACADAEAF hex A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
hex B0B1B2B3CECFB6B7B8B9BBBABCBDBEBF hex B0B1B2B3CECFB6B7B8B9BBBABCBDBEBF
@ -1658,7 +1660,7 @@ sf_2 dec ; prend la scene
dey dey
bpl ]lp bpl ]lp
jsr attente ; on attend * jsr attente ; on attend
lda #aiguillage lda #aiguillage
clc clc

View File

@ -248,6 +248,9 @@ okTOOL _HideMenuBar
PushLong #0 PushLong #0
_GetPort _GetPort
PullLong mainPORT PullLong mainPORT
PushLong mainPORT
_SetPort
*---------------------------------------- *----------------------------------------
* INITIALISATIONS * INITIALISATIONS
@ -302,10 +305,14 @@ mainLOOP lda scene_actuelle
taskLOOP inc VBLCounter0 taskLOOP inc VBLCounter0
* PushWord #0
* PushWord #%11111111_11111111
* PushLong #taskREC
* _TaskMaster
PushWord #0 PushWord #0
PushWord #%11111111_11111111 PushWord #%00000000_00001110
PushLong #taskREC PushLong #taskREC
_TaskMaster _GetNextEvent
pla pla
beq taskLOOP beq taskLOOP
@ -375,6 +382,7 @@ tblKEYADDRESS
* on compare les coordonnées avec celles du incontent * on compare les coordonnées avec celles du incontent
* si dans le même rectangle, on traite * si dans le même rectangle, on traite
doMOUSEDOWN
doMOUSEUP doMOUSEUP
lda fgSUITEFORCEE lda fgSUITEFORCEE
cmp #FALSE cmp #FALSE
@ -1103,55 +1111,55 @@ errSTR3 str 'Continue'
*----------------------- Window manager *----------------------- Window manager
taskREC ds 2 ; wmWhat +0 taskREC ds 2 ; wmWhat +0
taskMESSAGE ds 4 ; wmMessage +2 taskMESSAGE ds 4 ; wmMessage +2
taskWHEN ds 4 ; wmWhen +6 taskWHEN ds 4 ; wmWhen +6
taskWHERE ds 4 ; wmWhere +10 taskWHERE ds 4 ; wmWhere +10
taskMODIFIERS ds 2 ; wmModifiers +14 taskMODIFIERS ds 2 ; wmModifiers +14
taskDATA ds 4 ; wmTaskData +16 taskDATA ds 4 ; wmTaskData +16
adrl $001fffff ; wmTaskMask +20 adrl $001fffff ; wmTaskMask +20
ds 4 ; wmLastClickTick +24 ds 4 ; wmLastClickTick +24
ds 2 ; wmClickCount +28 ds 2 ; wmClickCount +28
ds 4 ; wmTaskData2 +30 ds 4 ; wmTaskData2 +30
ds 4 ; wmTaskData3 +34 ds 4 ; wmTaskData3 +34
ds 4 ; wmTaskData4 +38 ds 4 ; wmTaskData4 +38
ds 4 ; wmLastClickPt +42 ds 4 ; wmLastClickPt +42
taskTBL da doNOT ; Null taskTBL da doNOT ; Null
da doNOT ; mouseDownEvt da doMOUSEDOWN ; mouseDownEvt
da doMOUSEUP ; mouseUpEvt da doMOUSEUP ; mouseUpEvt
da doKEYDOWN ; keyDownEvt da doKEYDOWN ; keyDownEvt
da doNOT da doNOT
da doNOT ; autoKeyEvt da doNOT ; autoKeyEvt
da doNOT ; updateEvt da doNOT ; updateEvt
da doNOT da doNOT
da doNOT ; activateEvt da doNOT ; activateEvt
da doNOT ; switchEvt da doNOT ; switchEvt
da doNOT ; deskAccEvt da doNOT ; deskAccEvt
da doNOT ; driverEvt da doNOT ; driverEvt
da doNOT ; app1Evt da doNOT ; app1Evt
da doNOT ; app2Evt da doNOT ; app2Evt
da doNOT ; app3Evt da doNOT ; app3Evt
da doNOT ; app4Evt da doNOT ; app4Evt
da doNOT ; wInDesk da doNOT ; wInDesk
da doNOT ; wInMenuBar da doNOT ; wInMenuBar
da doNOT ; wCLickCalled da doNOT ; wCLickCalled
da doNOT ; wInContent - was doCONTENT da doNOT ; wInContent - was doCONTENT
da doNOT ; wInDrag da doNOT ; wInDrag
da doNOT ; wInGrow da doNOT ; wInGrow
da doNOT ; wInGoAway da doNOT ; wInGoAway
da doNOT ; wInZoom da doNOT ; wInZoom
da doNOT ; wInInfo da doNOT ; wInInfo
da doNOT ; wInSpecial da doNOT ; wInSpecial
da doNOT ; wInDeskItem da doNOT ; wInDeskItem
da doNOT ; wInFrame da doNOT ; wInFrame
da doNOT ; wInactMenu da doNOT ; wInactMenu
da doNOT ; wInClosedNDA da doNOT ; wInClosedNDA
da doNOT ; wInCalledSysEdit da doNOT ; wInCalledSysEdit
da doNOT ; wInTrackZoom da doNOT ; wInTrackZoom
da doNOT ; wInHitFrame da doNOT ; wInHitFrame
da doNOT ; wInControl da doNOT ; wInControl
da doNOT ; wInControlMenu da doNOT ; wInControlMenu
*---------------------------------------- *----------------------------------------
* STD FILE * STD FILE

Binary file not shown.