Raised This Month: $ Target: $400
 0% 

[TUT/Snippet] Doing timed stuff without CreateTimers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-12-2015 , 17:54   Re: [TUT/Snippet] Doing timed stuff without CreateTimers
Reply With Quote #9

I love pointer tables

Code:
LDA !RamAdress   ;switch (!RamAdress)
PHX
ASL A
TAX
REP #$20
LDA Pointers,x
STA $0A
SEP #$20
PLX
JMP ($000A)

Pointers:
dw Action0
dw Action1
dw Action2
dw Action3
dw Action4
dw Action5

Action0:  ;case 0
RTS
Action1:  ;case 1
RTS
Action2:
RTS
Action3:
RTS
Action4:
RTS
Action5:
RTS
__________________

Last edited by Chdata; 02-12-2015 at 17:59.
Chdata is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode