Skip to content

Commit

Permalink
A cleaner vbi setup
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious committed May 5, 2021
1 parent 03f98e9 commit dbd8242
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crt0.s
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ master_start:
mov #0x80,r0
mov.l _master_adapter,r1
mov.b r0,@r1 /* set FM */
mov #0x00,r0
mov #0x08,r0
mov.b r0,@(1,r1) /* set int enables */
mov #0x20,r0
ldc r0,sr /* allow ints */
Expand Down
1 change: 0 additions & 1 deletion marsnew.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ void Mars_Init(void)
volatile unsigned short *palette;

while ((MARS_SYS_INTMSK & MARS_SH2_ACCESS_VDP) == 0);
MARS_SYS_INTMSK |= 1 << 3; // enable vblank interrupts

MARS_VDP_DISPMODE = MARS_224_LINES | MARS_VDP_MODE_256;

Expand Down

0 comments on commit dbd8242

Please sign in to comment.