DeskTop: More overlay resource identifiers

This commit is contained in:
Joshua Bell 2018-05-06 17:35:34 -07:00
parent a1c6736df2
commit 0fba98f1f2
5 changed files with 77 additions and 52 deletions

View File

@ -555,7 +555,10 @@ rect_D6F8:
rect_D700:
DEFINE_RECT 40,92,140,103
.word 215,102,45,102
pos_D708:
DEFINE_POINT 215,102
pos_D70C:
DEFINE_POINT 45,102
.word 130,7,220,19
add_an_entry_label:
@ -605,14 +608,17 @@ rect_D888:
the_dos_33_disk_label:
PASCAL_STRING "the DOS 3.3 disk in slot drive ?"
.byte $1A,$22
the_dos_33_disk_slot_char_offset:
.byte 26
the_dos_33_disk_drive_char_offset:
.byte 34
the_disk_in_slot_label:
PASCAL_STRING "the disk in slot drive ?"
.byte $12
.byte $1A
the_disk_in_slot_slot_char_offset:
.byte 18
the_disk_in_slot_drive_char_offset:
.byte 26
buf_filename:
.res 16, 0
@ -648,19 +654,36 @@ str_file_count: ; populated with number of files
file_count:
.word 0
.byte $00,$00,$0D,$00
pos_D90B:
DEFINE_POINT 0,13
rect_D90F:
DEFINE_RECT 0,0,125,0
.byte $02,$00,$00,$00,$00,$00
pos_D917:
DEFINE_POINT 2,0
.byte $00,$00
str_folder:
PASCAL_STRING {GLYPH_FOLDERL,GLYPH_FOLDERR}
.byte $00,$00,$57,$01,$28,$00
.byte $6B,$01,$30,$00,$6B,$01,$38,$00
.byte $57,$01,$4B,$00,$6B,$01,$53,$00
.byte $6B,$01,$5B,$00,$6B,$01,$63,$00
.byte $00,$00
pos_D922:
DEFINE_POINT 343,40
pos_D926:
DEFINE_POINT 363,48
pos_D92A:
DEFINE_POINT 363,56
pos_D92E:
DEFINE_POINT 343,75
pos_D932:
DEFINE_POINT 363,83
pos_D936:
DEFINE_POINT 363,91
pos_D93A:
DEFINE_POINT 363,99
rect_D93E:
DEFINE_RECT 346,41,356,47

View File

@ -1460,11 +1460,11 @@ L194E: lda $1C02
beq L197E
L1959: lda read_block_params::unit_num
jsr L19B7
ldx $D8D5
ldx the_disk_in_slot_slot_char_offset
sta the_disk_in_slot_label,x
lda read_block_params::unit_num
jsr L19C1
ldx $D8D6
ldx the_disk_in_slot_drive_char_offset
sta the_disk_in_slot_label,x
ldx the_disk_in_slot_label
L1974: lda the_disk_in_slot_label,x
@ -1483,11 +1483,11 @@ L1986: cmp #$A5
bne L1959
lda read_block_params::unit_num
jsr L19B7
ldx $D8B6
ldx the_dos_33_disk_slot_char_offset
sta the_dos_33_disk_label,x
lda read_block_params::unit_num
jsr L19C1
ldx $D8B7
ldx the_dos_33_disk_drive_char_offset
sta the_dos_33_disk_label,x
ldx the_dos_33_disk_label
L19AC: lda the_dos_33_disk_label,x
@ -1516,9 +1516,9 @@ L19C8: copy16 #$0002, read_block_params::block_num
yax_call MLI_RELAY, READ_BLOCK, $123E
beq L19F7
copy16 #$2004, $D909
copy16 #$203A, $D90B
copy16 #$203A, pos_D90B
lda #$3F
sta $D90C
sta pos_D90B+1
rts
L19F7: lda $1C06

View File

@ -506,11 +506,11 @@ L947F: clc
L94A7: .byte 0
L94A8: .byte 0
L94A9: MGTK_RELAY_CALL MGTK::MoveTo, $D708
L94A9: MGTK_RELAY_CALL MGTK::MoveTo, pos_D708
addr_call draw_text1, $AE40
rts
L94BA: MGTK_RELAY_CALL MGTK::MoveTo, $D70C
L94BA: MGTK_RELAY_CALL MGTK::MoveTo, pos_D70C
addr_call draw_text1, $AE96
rts

View File

@ -256,7 +256,7 @@ L5340: rts
L5341: lda winfo_entrydlg_file_picker
sta screentowindow_window_id
MGTK_RELAY_CALL MGTK::ScreenToWindow, screentowindow_params
add16 screentowindow_windowy, $D60F, screentowindow_windowy
add16 screentowindow_windowy, winfo_entrydlg_file_picker_cliprect+2, screentowindow_windowy
lsr16 screentowindow_windowy
lsr16 screentowindow_windowy
lsr16 screentowindow_windowy
@ -1256,11 +1256,11 @@ L5E0A: jsr L5DD7
ror a
sec
sbc $09
sta $D90B
sta pos_D90B
lda L5E56
sbc $0A
sta $D90C
MGTK_RELAY_CALL MGTK::MoveTo, $D90B
sta pos_D90B+1
MGTK_RELAY_CALL MGTK::MoveTo, pos_D90B
MGTK_RELAY_CALL MGTK::DrawText, $06
rts
@ -1497,11 +1497,11 @@ L606D: lda winfo_entrydlg_file_picker
jsr L62C8
MGTK_RELAY_CALL MGTK::PaintRect, winfo_entrydlg_file_picker_cliprect
lda #$10
sta $D917
sta pos_D917
lda #$08
sta $D919
sta pos_D917+2
lda #$00
sta $D91A
sta pos_D917+3
sta L6128
L608E: lda L6128
cmp $177F
@ -1510,7 +1510,7 @@ L608E: lda L6128
MGTK_RELAY_CALL MGTK::SetPort, grafport3
rts
L60A9: MGTK_RELAY_CALL MGTK::MoveTo, $D917
L60A9: MGTK_RELAY_CALL MGTK::MoveTo, pos_D917
ldx L6128
lda $1780,x
and #$7F
@ -1536,11 +1536,11 @@ L60A9: MGTK_RELAY_CALL MGTK::MoveTo, $D917
lda $1780,x
bpl L60FF
lda #$01
sta $D917
MGTK_RELAY_CALL MGTK::MoveTo, $D917
sta pos_D917
MGTK_RELAY_CALL MGTK::MoveTo, pos_D917
addr_call L5DED, str_folder
lda #$10
sta $D917
sta pos_D917
L60FF: lda L6128
cmp $D920
bne L6110
@ -1548,7 +1548,7 @@ L60FF: lda L6128
lda winfo_entrydlg_file_picker
jsr L62C8
L6110: inc L6128
add16 $D919, #8, $D919
add16 pos_D917+2, #8, pos_D917+2
jmp L608E
L6127: .byte 0
@ -1687,19 +1687,21 @@ L624A: ldx #$00
rol L6273
asl a
rol L6273
sta $D60F
sta winfo_entrydlg_file_picker_cliprect+2
ldx L6273
stx $D610
stx winfo_entrydlg_file_picker_cliprect+3
clc
adc #$46
sta $D613
adc #70
sta winfo_entrydlg_file_picker_cliprect+6
lda L6273
adc #$00
sta $D614
adc #0
sta winfo_entrydlg_file_picker_cliprect+7
rts
L6273: .byte 0
L6274: ldx #$00
L6274: ldx #0
stx L62C7
asl a
rol L62C7
@ -1707,15 +1709,15 @@ L6274: ldx #$00
rol L62C7
asl a
rol L62C7
sta $D911
sta rect_D90F+2
ldx L62C7
stx $D912
stx rect_D90F+3
clc
adc #$07
sta $D915
adc #7
sta rect_D90F+6
lda L62C7
adc #$00
sta $D916
adc #0
sta rect_D90F+7
lda winfo_entrydlg_file_picker
jsr L62C8
MGTK_RELAY_CALL MGTK::SetPenMode, penXOR

View File

@ -116,19 +116,19 @@ L711D: addr_call common_overlay::L5E6F, enter_the_full_pathname_label2
MGTK_RELAY_CALL MGTK::FrameRect, dialog_rect2
addr_call common_overlay::L5E57, enter_the_full_pathname_label1
addr_call common_overlay::L5E6F, enter_the_name_to_appear_label
MGTK_RELAY_CALL MGTK::MoveTo, $D922
MGTK_RELAY_CALL MGTK::MoveTo, pos_D922
addr_call common_overlay::L5DED, add_a_new_entry_to_label
MGTK_RELAY_CALL MGTK::MoveTo, $D926
MGTK_RELAY_CALL MGTK::MoveTo, pos_D926
addr_call common_overlay::L5DED, run_list_label
MGTK_RELAY_CALL MGTK::MoveTo, $D92A
MGTK_RELAY_CALL MGTK::MoveTo, pos_D92A
addr_call common_overlay::L5DED, other_run_list_label
MGTK_RELAY_CALL MGTK::MoveTo, $D92E
MGTK_RELAY_CALL MGTK::MoveTo, pos_D92E
addr_call common_overlay::L5DED, down_load_label
MGTK_RELAY_CALL MGTK::MoveTo, $D932
MGTK_RELAY_CALL MGTK::MoveTo, pos_D932
addr_call common_overlay::L5DED, at_first_boot_label
MGTK_RELAY_CALL MGTK::MoveTo, $D936
MGTK_RELAY_CALL MGTK::MoveTo, pos_D936
addr_call common_overlay::L5DED, at_first_use_label
MGTK_RELAY_CALL MGTK::MoveTo, $D93A
MGTK_RELAY_CALL MGTK::MoveTo, pos_D93A
addr_call common_overlay::L5DED, never_label
MGTK_RELAY_CALL MGTK::SetPenMode, penXOR
MGTK_RELAY_CALL MGTK::FrameRect, rect_D93E