Delete unused resources

This commit is contained in:
Joshua Bell 2019-01-14 23:28:45 -08:00
parent 741579d293
commit 8c9993deeb
4 changed files with 12 additions and 80 deletions

View File

@ -146,16 +146,6 @@ DESKTOP_RELAY := $D040
.endif
.endmacro
;;; ============================================================
;;; Internals
;;; Set to specific machine type; used for double-click timing.
;;; //e - $96
;;; //c - $FA
;;; IIgs - $FD
machine_speed := $D2AB
;;; ============================================================
;;; Internals - Windows (paths) and Icons (files)

View File

@ -238,20 +238,8 @@ white_pattern:
.byte %11111111
.byte %11111111
.byte %11111111
.byte $FF
black_pattern:
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte $FF
checkerboard_pattern2:
checkerboard_pattern:
.byte %01010101
.byte %10101010
.byte %01010101
@ -260,7 +248,6 @@ checkerboard_pattern2:
.byte %10101010
.byte %01010101
.byte %10101010
.byte $FF
dark_pattern:
.byte %00010001
@ -271,18 +258,6 @@ dark_pattern:
.byte %01000100
.byte %00010001
.byte %01000100
.byte $FF
light_pattern:
.byte %11101110
.byte %10111011
.byte %11101110
.byte %10111011
.byte %11101110
.byte %10111011
.byte %11101110
.byte %10111011
.byte $FF
;;; ============================================================
;;; Icon (i.e. file, volume) details
@ -353,6 +328,7 @@ textbg: .byte MGTK::textbg_black
fontptr: .addr 0
.endproc
;; ???
.byte $00,$00,$00
.byte $00,$FF,$80
@ -1236,7 +1212,7 @@ L99E1: iny
add16 $08, #icon_poly_size, $08
jmp L9972
L99FC: MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
L99FC: MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
MGTK_CALL MGTK::FramePoly, drag_outline_buffer
L9A0E: MGTK_CALL MGTK::PeekEvent, peekevent_params
@ -1264,11 +1240,11 @@ L9A31: COPY_BYTES 4, findwindow_params2, L9C92
lda findwindow_params2::which_area
cmp highlight_icon_id
beq L9A84
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
MGTK_CALL MGTK::FramePoly, drag_outline_buffer
DESKTOP_DIRECT_CALL DT_UNHIGHLIGHT_ICON, highlight_icon_id
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
MGTK_CALL MGTK::FramePoly, drag_outline_buffer
lda #0
@ -1576,16 +1552,16 @@ L9E3D: cmp highlight_list,x
bne L9E97
lda L9EB3
L9E6A: sta highlight_icon_id
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
MGTK_CALL MGTK::FramePoly, drag_outline_buffer
DESKTOP_DIRECT_CALL DT_HIGHLIGHT_ICON, highlight_icon_id
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
MGTK_CALL MGTK::FramePoly, drag_outline_buffer
L9E97: MGTK_CALL MGTK::InitPort, grafport
MGTK_CALL MGTK::SetPort, grafport
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
MGTK_CALL MGTK::SetPenMode, penXOR_2
jsr pop_pointers
rts
@ -2248,7 +2224,7 @@ volume:
.proc erase_desktop_icon
lda #0
sta LA3B7
MGTK_CALL MGTK::SetPattern, checkerboard_pattern2
MGTK_CALL MGTK::SetPattern, checkerboard_pattern
;; fall through
.endproc

View File

@ -4882,7 +4882,7 @@ L68B8: lda event_coords,x
beq L68CF
rts
L68CF: MGTK_RELAY_CALL MGTK::SetPattern, checkerboard_pattern3
L68CF: MGTK_RELAY_CALL MGTK::SetPattern, desktop_aux::checkerboard_pattern
jsr set_penmode_xor
MGTK_RELAY_CALL MGTK::FrameRect, tmp_rect
L68E4: jsr peek_event
@ -9075,7 +9075,7 @@ L8D56: .word 0
lda #0
sta step
jsr reset_grafport3
MGTK_RELAY_CALL MGTK::SetPattern, checkerboard_pattern3
MGTK_RELAY_CALL MGTK::SetPattern, desktop_aux::checkerboard_pattern
jsr set_penmode_xor
loop: lda step
@ -9140,7 +9140,7 @@ step: .byte 0
lda #11
sta step
jsr reset_grafport3
MGTK_RELAY_CALL MGTK::SetPattern, checkerboard_pattern3
MGTK_RELAY_CALL MGTK::SetPattern, desktop_aux::checkerboard_pattern
jsr set_penmode_xor
loop: lda step

View File

@ -145,39 +145,6 @@ fontptr: .addr DEFAULT_FONT
;;; ============================================================
white_pattern3: ; unused?
.byte %11111111
.byte %11111111
.byte %11111111
.byte %11111111
.byte %11111111
.byte %11111111
.byte %11111111
.byte %11111111
.byte $FF
black_pattern3: ; unused?
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte %00000000
.byte $FF
checkerboard_pattern3:
.byte %01010101
.byte %10101010
.byte %01010101
.byte %10101010
.byte %01010101
.byte %10101010
.byte %01010101
.byte %10101010
.byte $FF
save_area_buffer := $800
save_area_size = $1300
@ -205,7 +172,6 @@ double_click_flag:
;; Set to specific machine type; used for double-click timing.
machine_type:
.assert * = machine_speed, error, "Entry point mismatch"
.byte $00 ; Set to: $96 = IIe, $FA = IIc, $FD = IIgs
warning_dialog_num: