diff --git a/disk.bin b/disk.bin new file mode 100644 index 0000000..2794e41 Binary files /dev/null and b/disk.bin differ diff --git a/source/display.d b/source/display.d index bc7d007..69fdf1c 100644 --- a/source/display.d +++ b/source/display.d @@ -41,7 +41,8 @@ class Display { } window = SDL_CreateWindow( - toStringz("YETI-16"), 0, 0, 640, 400, SDL_WINDOW_RESIZABLE + toStringz("YETI-16"), SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, + 640, 400, SDL_WINDOW_RESIZABLE ); if (window is null) { diff --git a/test.asm b/test.asm new file mode 100644 index 0000000..110cdc7 --- /dev/null +++ b/test.asm @@ -0,0 +1,11 @@ +lda bs 0x100000 +lda ds 1029 +set a 0 +set c 3200 +setl a +lda ds 1029 +set a 65 +wrb ds a + +end: + jmpb end