Jump to content

Photo

Simple question in IntyBASIC

IntyBASIC help question

2 replies to this topic

#1 petit chou OFFLINE  

petit chou

    Space Invader

  • 31 posts
  • Location:SC, US

Posted Sun May 1, 2016 8:39 PM

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, Sun May 1, 2016 9:28 PM.


#2 intvnut OFFLINE  

intvnut

    River Patroller

  • 3,073 posts
  • Location:@R6 (top of stack)

Posted Sun May 1, 2016 9:07 PM

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, Sun May 1, 2016 9:50 PM.


#3 petit chou OFFLINE  

petit chou

    Space Invader

  • Topic Starter
  • 31 posts
  • Location:SC, US

Posted Sun May 1, 2016 9:52 PM

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.







Also tagged with one or more of these keywords: IntyBASIC, help, question

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users