Skip to content

What are the closest preprocessors to DASM's DS and SEG preprocessors #545

Answered by vhelin
Pokeman2003 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, well, if VSYNC, VBLANK etc. are hardware registers that have addresses, but you don't want to put there data by default, only using your code, then .ENUM or .DEFINEs are what you need.

Gotta admit that I don't know anything about DASM or Atari 2600. :) But Amiga has hardware registers like Gameboy, somewhere in the address space, and those are just addresses/locations that can be defined using .DEFINEs or .ENUM and then written into in your code...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Pokeman2003
Comment options

Comment options

You must be logged in to vote
1 reply
@Pokeman2003
Comment options

Answer selected by Pokeman2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants