Jump to content
Sign in to follow this  
petit chou

Simple question in IntyBASIC

Recommended Posts

When I compile the following code and run it, I get a strange (to me) result:

MODE 1

#A1 = $0800
#A2 = $0816

PRINT AT 160 COLOR 7, <>#A1
PRINT AT 180 COLOR 7, <>#A2

WHILE 1:WAIT:WEND

This prints 65535 twice. What's going on here? Is there something involving variable assignment that I'm just not getting?

 

Thanks!

 

(Edit: I'm using the --jlp switch.)

 

(Edit 2: Compiling without the switch makes the error go away. Do I have to do something special to use the variable space afforded in the switch?)

Edited by petit chou

Share this post


Link to post
Share on other sites

Make sure you also use the --jlp switch when you run it in jzIntv.

 

Or, if you assemble to BIN+CFG and use the "stable dev release" of jzIntv, it will enable JLP support automatically based on the "jlp" variable in the CFG file.

Edited by intvnut

Share this post


Link to post
Share on other sites

Make sure you also use the --jlp switch when you run it in jzIntv.

 

Or, if you assemble to BIN+CFG and use the "stable dev release" of jzIntv, it will enable JLP support automatically based on the "jlp" variable in the CFG file.

 

Aha! Thank you so much.

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...