added makefile rule to create bootable CDs and removed a printf call in
authorJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 23 Jan 2019 02:20:08 +0000 (04:20 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 23 Jan 2019 02:20:08 +0000 (04:20 +0200)
vbetest which interfered with the video mode by attempting to change the
CRTC scroll registers.

Makefile
src/test/vbetest.c

index fcbe869..c4d724a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ pcboot.iso: floppy.img
        rm -rf cdrom
        git archive --format=tar --prefix=cdrom/ HEAD | tar xf -
        cp $< cdrom
        rm -rf cdrom
        git archive --format=tar --prefix=cdrom/ HEAD | tar xf -
        cp $< cdrom
-       mkisofs -o $@ -V pcboot -b $< cdrom
+       mkisofs -o $@ -R -J -V pcboot -b $< cdrom
 
 
 boot.img: bootldr.bin $(bin)
 
 
 boot.img: bootldr.bin $(bin)
index 8a61516..ee7fb68 100644 (file)
@@ -105,7 +105,6 @@ int vbetest(void)
                        }
                }
                if(click) {
                        }
                }
                if(click) {
-                       printf("click!\n");
                        audio_play(22050, 1);
                }
 
                        audio_play(22050, 1);
                }