mirror of
https://github.com/blondie7575/SpriteGen.git
synced 2024-12-13 01:29:29 +00:00
9a4c4b7b85
The sprite generator basically works for the four primary hires colors. The included sample program renders all the sample sprites in various places on screen.
445 lines
4.3 KiB
ArmAsm
445 lines
4.3 KiB
ArmAsm
;
|
|
; hgrtableY.s
|
|
;
|
|
; Created by Quinn Dunki on 7/19/16
|
|
; Copyright (c) 2015 One Girl, One Laptop Productions. All rights reserved.
|
|
;
|
|
|
|
HGRROWS_H:
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
;
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
;;
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $20
|
|
.byte $24
|
|
.byte $28
|
|
.byte $2C
|
|
.byte $30
|
|
.byte $34
|
|
.byte $38
|
|
.byte $3C
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $21
|
|
.byte $25
|
|
.byte $29
|
|
.byte $2D
|
|
.byte $31
|
|
.byte $35
|
|
.byte $39
|
|
.byte $3D
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $22
|
|
.byte $26
|
|
.byte $2A
|
|
.byte $2E
|
|
.byte $32
|
|
.byte $36
|
|
.byte $3A
|
|
.byte $3E
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
|
|
.byte $23
|
|
.byte $27
|
|
.byte $2B
|
|
.byte $2F
|
|
.byte $33
|
|
.byte $37
|
|
.byte $3B
|
|
.byte $3F
|
|
|
|
|
|
|
|
HGRROWS_L:
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
.byte $80
|
|
;
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
.byte $28
|
|
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
.byte $A8
|
|
;;
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
.byte $50
|
|
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
.byte $D0
|
|
|
|
|