From 3b22aa7dbd6a3bf320874f93c664f86254e18ed7 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 15 Sep 2017 19:30:49 -0700 Subject: [PATCH] Explore calls from DeskTop --- desk.acc/a2d.inc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/desk.acc/a2d.inc b/desk.acc/a2d.inc index 7a260cd..47fd881 100644 --- a/desk.acc/a2d.inc +++ b/desk.acc/a2d.inc @@ -77,6 +77,9 @@ A2D_SET_STATE := $04 ; Set full drawing state ;; .byte vthick vertical pen thickness ;; .byte 0,$7F,0,$88,0 + ;; $05 used in DeskTop but not DAs - icon click + ;; (input length 0 bytes) + A2D_SET_BOX := $06 ; Set just the drawing box, subset of full state ;; (input length 16 bytes) ;; .word left pixels from screen edge @@ -144,6 +147,15 @@ A2D_DRAW_BITMAP := $14 ; Draw pattern ;; .word width pixels ;; .word height pixels + ;; $15 used in DeskTop but not DAs - icon redraw + ;; (input length 0 bytes) + + ;; $16 used in DeskTop but not DAs - desktop icon drag + ;; (input length 0 bytes) + + ;; $17 used in DeskTop but not DAs - maybe selection drag + ;; (input length 0 bytes) + A2D_MEASURE_TEXT := $18 ;; (input length 3 bytes) ;; .addr data @@ -182,6 +194,9 @@ A2D_GET_INPUT := $2A A2D_UNK_2B := $2B ; Unknown - possibly "reset drawing state" ;; (no parameters; pass $0000 as address) + ;; $2C used in DeskTop but not DAs + ;; (input length 0 bytes) + A2D_UNK_2D := $2D ; Unknown - used in calculator ;; (input length 5 bytes) @@ -228,6 +243,9 @@ A2D_DESTROY_WINDOW := $39 ;; (input length 1 byte) ;; .byte id + ;; $3B used in DeskTop but not DAs - triggered by dragging window near right edge + ;; (input length 1 byte) + A2D_QUERY_STATE := $3C ; get drawing state of window ;; (input length 3 bytes) ;; .byte id window @@ -246,6 +264,9 @@ A2D_QUERY_TARGET := $40 ;; 5 = close box ;; .byte id of window + ;; $41 used in DeskTop but not DAs - icon in window drop + ;; (input length 0 bytes) + A2D_CLOSE_CLICK := $43 ;; (input length 0 bytes) ;; .byte clicked (0 = cancelled, 1 = clicked)