Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include "src\buildconf.asm"
- ; ----------------------------------------------------------------
- ; Main game loop
- ; ----------------------------------------------------------------
- section mainloop,code
- xdef MainGameLoop
- MainGameLoop:
- ; To-do: Init any critical values here
- ; bra GM_Sega ; early/first attempt, didn't work
- move.w GameMode,d0 ; get game/screen mode ($6 multiple)
- jsr .screens(pc,d0.w) ; run it
- bra MainGameLoop
- ; ----------------------------------------------------------------
- opt o- ; disable optimizations
- .screens jmp GM_Sega ; 0 ; SEGA Screen
- .end opt o+ ; enable every major 68k auto-optimization
- opt o12- ; disable operand size auto-optimization
- ; ----------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement