Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             include "src\buildconf.asm"
  2.  
  3. ; ----------------------------------------------------------------
  4. ; Main game loop
  5. ; ----------------------------------------------------------------
  6.  
  7.             section mainloop,code
  8.             xdef    MainGameLoop
  9.  
  10. MainGameLoop:
  11.             ; To-do: Init any critical values here
  12. ;           bra     GM_Sega             ; early/first attempt, didn't work
  13.             move.w  GameMode,d0         ; get game/screen mode ($6 multiple)
  14.             jsr     .screens(pc,d0.w)   ; run it
  15.             bra     MainGameLoop
  16. ; ----------------------------------------------------------------
  17.  
  18.             opt     o-                  ; disable optimizations
  19. .screens    jmp     GM_Sega             ; 0 ; SEGA Screen
  20. .end        opt     o+                  ; enable every major 68k auto-optimization
  21.             opt     o12-                ; disable operand size auto-optimization
  22. ; ----------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement