Skip to content

Commit 05fbb2f

Browse files
committed
Removed Mask Data from Images where it is unneeded
1 parent c4bb058 commit 05fbb2f

File tree

15 files changed

+174
-1061
lines changed

15 files changed

+174
-1061
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ nibberdx.cdt
22
nibberdx.sna
33
nibberdx.dsk
44
original/arcade
5-
obj/
5+
obj/
6+
redist

dsk/nibdx.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
70 LOCATE 1, 5
88
80 PRINT "NIBBLER DX by Dave Moore"
99
90 LOCATE 1, 6
10-
100 PRINT "(DEMO VERSION 0.2)"
10+
100 PRINT "(DEMO VERSION 0.3)"
1111
110 PEN 2
1212
120 LOCATE 1, 8
1313
130 PRINT "Full Version coming in 2024, with:"

img/logo.png

32.5 KB
Loading

img/logoleft.png

-55.7 KB
Binary file not shown.

img/logoright.png

-58 KB
Binary file not shown.

inc/images.h

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,23 @@
2020

2121
#include <main.h>
2222

23-
/*
24-
* Mode 1 Images of varying sizes generated by CPC Telera with
25-
* image_conversation.mk macros - note that these images also contain mask data;
26-
* Mask data is interlaced (MASK BYTE, DATA BYTE), which means each image is
27-
* four times as wide in pixels as bytes (1 byte = 4 pixels in Mode 1)
23+
/*
24+
* Images generated by CPC Telera with image_conversation.mk macros; each image
25+
* is (bytes) x 4 pixels wide
2826
*/
2927
#define IMAGE_LOGO_0_W 39
3028
#define IMAGE_LOGO_0_H 76
3129
#define IMAGE_LOGO_1_W 39
3230
#define IMAGE_LOGO_1_H 76
3331
#define IMAGE_LOGO_2_W 16
3432
#define IMAGE_LOGO_2_H 56
33+
extern const u8 image_logo_0[39 * 76];
34+
extern const u8 image_logo_1[39 * 76];
3535
extern const u8 image_logo_2[2 * 16 * 56];
36-
extern const u8 image_logo_0[2 * 39 * 76];
37-
extern const u8 image_logo_1[2 * 39 * 76];
3836

3937
/*
4038
* Sprites generated by CPC Telera with image_conversation.mk macros; each
41-
* prite is 8x8 pixels, which in Mode 1 is 2x8 bytes
39+
* sprite is 8x8 pixels, which in Mode 1 is 2x8 bytes
4240
*/
4341
extern const u8 sprite_00[2 * 8];
4442
extern const u8 sprite_01[2 * 8];

nibdx.dsk

0 Bytes
Binary file not shown.

redist/nibdx.bas

Lines changed: 0 additions & 45 deletions
This file was deleted.

redist/nibdx.bin

-34.9 KB
Binary file not shown.

redist/nibdx.dsk

-200 KB
Binary file not shown.

0 commit comments

Comments
 (0)