It is currently Fri Dec 15, 2017 11:10 am

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jul 07, 2016 8:14 am 
Offline

Joined: Thu Jun 09, 2016 4:46 pm
Posts: 14
I'm sorry if this is a dumb question but I am declaring variables in a from-scratch rom in xkas. I am declaring shadow hardware registers like this:

Code:
define INIDISP         $0000
define OBSEL         $0001
define OAMADDL         $0002
define OAMDATA         $0003
define BGMODE         $0004
define MOSAIC         $0005
define BG1SC         $0006
define BG2SC         $0007
define bg3SC         $0008


It worked in my last experiment, however it is very tedious; I'm only up to $2121 and I want to kill myself. When I was using ASM6 for nes there was an enum directive and .db etc. Is there something like this for xkas or, at the very least, a better method than the abouve?


Top
 Profile  
 
PostPosted: Thu Jul 07, 2016 8:42 am 
Online

Joined: Sat Apr 25, 2015 1:47 pm
Posts: 336
Location: FL
AzimuthFE wrote:
Is there something like this for xkas or, at the very least, a better method than the abouve?

Not really.

xkas isn't really recommended for anything other than patching existing ROMs for reasons like this; for developing "from scratch" you'll probably have a better time with something like ca65 or WLADX.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Revenant and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group