# faked asm
#DEFINC += -D_ASM_DRAW_C
-#DEFINC += -D_ASM_MEMORY_C
-#DEFINC += -D_ASM_YM2612_C
-OBJS += fakedasm.o
+#OBJS += fakedasm.o
all: PicoDrive
@$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612
# faked asm
-../../Pico/Draw.o : ../../Pico/Draw.c
- @echo $<
- @$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@
+#../../Pico/Draw.o : ../../Pico/Draw.c
+# @echo $<
+# @$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@
struct TileStrip
{
int nametab; // Position in VRAM of name table (for this tile line)
- int line; // Line number in pixels 0x000-0x3ff within the virtual tilemap
+ int line; // Line number in pixels 0x000-0x3ff within the virtual tilemap
int hscroll; // Horizontal scroll value in pixels for the line
int xmask; // X-Mask (0x1f - 0x7f) for horizontal wraparound in the tilemap
int *hc; // cache for high tile codes and their positions
*ts->hc++ = cval; // cache it
continue;
}
-
+continue;
if (code!=oldcode) {
oldcode = code;
// Get tile address/2: