Jump to content
IGNORED

dasm include problem


Recommended Posts

I'm drawing an asym. playfield and have the following setup :-

 

...

 

#if 0 ; switch between using include file and using the data directly

 

include "data.h" ; Include the playfield data

 

#else

 

PFData_0a

 

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

.byte #%11110000

 

etc etc

 

#endif

 

...

 

I copy & pasted the data from the data.h file into the above code so it's identical.

If I use the include, I get no display and wierd audio (ie goes completely screwy).

If I use the code directly it works fine.

I checked the format of the include file and it seems the same as vcs.h.

 

(btw. the include and the .byte above are indented, they didn't seem to be in this post)

 

 

Any ideas on what could be happening ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...