second: work on intro scrolling

This commit is contained in:
Vince Weaver 2023-10-29 01:11:22 -04:00
parent c667adfd33
commit 090a4b9c7c
3 changed files with 86 additions and 0 deletions

View File

@ -13,6 +13,26 @@ TODO MUSIC
DISK I
+BIOS
- get it working
- if it is, remove other detection code
+ Intro
- title cards
- scrolling
- credits at bottom?
- Sprites / explosion
+ chessboard
- falling effect
- moving / bouncing object
- tunnel
- cirles
- interference pattern
+ Lens / Rotozoom
- add lo-res LENS sprite to bounce around
- for rotozoom, wrap around

View File

@ -0,0 +1,16 @@
CC = gcc
CFLAGS = -Wall -O2
LFLAGS =
all: make_scroll_tables
make_scroll_tables: make_scroll_tables.o
$(CC) $(LFLAGS) -o make_scroll_tables make_scroll_tables.o
make_scroll_tables.o: make_scroll_tables.c
$(CC) $(CFLAGS) -c make_scroll_tables.c
clean:
rm -f make_scroll_tables *.o *~

View File

@ -0,0 +1,50 @@
#include <stdio.h>
int main(int argc, char **argv) {
int i,high_bit,temp;
printf("left_lookup_main:\n");
for(i=0;i<256;i++) {
if (i%16==0) {
printf(".byte ");
}
high_bit=i&0x80;
temp=i&0x7f;
temp>>=2;
temp|=high_bit;
printf("$%02X",temp);
if (i%16!=15) {
printf(",");
}
else {
printf("\n");
}
}
printf("left_lookup_next:\n");
for(i=0;i<256;i++) {
if (i%16==0) {
printf(".byte ");
}
temp=i&0x3;
temp<<=5;
printf("$%02X",temp);
if (i%16!=15) {
printf(",");
}
else {
printf("\n");
}
}
return 0;
}