Kiwi Posted June 30, 2014 Share Posted June 30, 2014 Just run IntyBASIC first to convert BASIC to ASM. Open command prompt or type run in your window's search box and type the command into the box.C:\jIntBASIC\IntyBASIC.exe test.bas test.asm And then run as1600.exe. C:\jIntBASIC\as1600.exe -o test.bin -l test.lst test.asm Test either in Nostasic or jzintv. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 The 80 errors message I get is from using as1600, not IntyBASIC. Also, I don't know what the errors are, it won't tell me. ERROR SUMMARY - ERRORS DETECTED 80 - WARNINGS 0 Quote Link to comment Share on other sites More sharing options...
Kiwi Posted June 30, 2014 Share Posted June 30, 2014 OK, I downloaded everything and as1600 said there's 80 errors in test.bas. You need to first run IntyBASIC first to compile the test.bas. It convert .bas to .asm. Then run as1600.exe to compile the asm source file. as1600.exe cannot compile test.bas as is, it's impossible. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 I meant test.asm Quote Link to comment Share on other sites More sharing options...
Kiwi Posted June 30, 2014 Share Posted June 30, 2014 Is the as1600.exe in the same folder as Intybasic? Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 Yes. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 Here is the lst file it made, if that helps. http://www.atari2600land.com/test.lst Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 30, 2014 Share Posted June 30, 2014 The 80 errors message I get is from using as1600, not IntyBASIC. Also, I don't know what the errors are, it won't tell me. ERROR SUMMARY - ERRORS DETECTED 80 - WARNINGS 0 If you followed the instructions provided by Kiwi above, you would have a file with extension "lst". This is the assembler's "listing" file, which contains the output of the assembler as it worked. It will show you where the errors occurred. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 30, 2014 Share Posted June 30, 2014 Here is the lst file it made, if that helps. http://www.atari2600land.com/test.lst Hmm... The errors show that SDK-1600 symbols are undefined. To me it looks like you are missing the "preamble" library of the IntyBASIC. I think you have to copy those files to your source directory. If that is not it, then it's that you need to add the SDK-1600 library directory to your assembler's library path. Check the assembler's documentation on how to do this for your operating system. Usually it is done by either setting an environment variable or adding an option with the path on the assembler command line. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 I have two files, one named intybasic_prologue and one named intybasic_epilogue. Are those them? Quote Link to comment Share on other sites More sharing options...
Kiwi Posted June 30, 2014 Share Posted June 30, 2014 (edited) I compared your .lst to mine. There's no intybasic_epilogue.asm or intybasic_prologue.asm instruction in your .lst file. Are the intybasic_epilogue.asm and intybasic_prologue.asm in your folder?Does your IntyBASIC folder have,game1.basgame2.bas intybasic(has no file extension)IntyBASIC.exeintybasic_epilogue.asmintybasic_linuxintybasic_prologue.asmmanual.txtscroll.bas sprites.bas test.bas title.bas as1600.exeI don't have this folder in my "Program Files"{64-bit version program reside only) or "Program Files (x86)", which requires admin permission and write protected. I have it in C:\Intybasic7\ Edited June 30, 2014 by Kiwi Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 Yes it has all those. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 30, 2014 Share Posted June 30, 2014 Yes it has all those.it looks to be that the SDK libraries are missing. See my last comment above. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 I can't find autoexec.bat. I tried searching with the search function but nothing came up. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 30, 2014 Share Posted June 30, 2014 If you are using Windows 7 or Vista, you'll need to go to the Computer Properties and look for "environment variables." I don't have a Windows computer, so I can't help with that right now. Perhaps someone can provide assistance with setting up the environment for the SDK-1600 in Windows. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 30, 2014 Share Posted June 30, 2014 Here are some instructions I posted once for Windows XP. I hope they help. http://atariage.com/forums/topic/193661-setting-up-a-dev-environment-for-p-machinery/?p=2458292 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted June 30, 2014 Author Share Posted June 30, 2014 I have two files, one named intybasic_prologue and one named intybasic_epilogue. Are those them? You should run the IntyBASIC compiler from the command line in the same directory where you have test.bas, intybasic_prologue.asm and intybasic_epilogue.asm The problem is that the compiler doesn't found these files, so aren't included in the generated test.asm file I'll put a warning for this in the next version of the compiler Also try to use the newest version of the compiler http://atariage.com/forums/topic/223886-intybasic-compiler-v07-now-with-intycolor/ it includes new useful features and solves some bugs Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 30, 2014 Share Posted June 30, 2014 The number of errors went down from 80 to 6. Quote Link to comment Share on other sites More sharing options...
Kiwi Posted July 1, 2014 Share Posted July 1, 2014 (edited) Please post the new .lst file. Edited July 1, 2014 by Kiwi Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 1, 2014 Share Posted July 1, 2014 OK, the newest one is up. I just replaced the old one with the new one. http://www.atari2600land.com/test.lst Quote Link to comment Share on other sites More sharing options...
catsfolly Posted July 1, 2014 Share Posted July 1, 2014 OK, the newest one is up. I just replaced the old one with the new one. http://www.atari2600land.com/test.lst It looks like maybe you have an old version of the jzintv tools that doesn't support macros. You can download the latest version from http://http://spatula-city.org/~im14u2c/intv/ (use the links on the right...). Quote Link to comment Share on other sites More sharing options...
Kiwi Posted July 1, 2014 Share Posted July 1, 2014 The some of the errors are located in that file listed: 528e 0204 0006 BEQ T78 MVII #-1,R0 ERROR - expression exceeds available field width 5290 02b8 ffff 528e 0204 0006 BEQ T78 MVII #-1,R0 ERROR - expression exceeds available field width 5290 02b8 ffff 0x5292 52a7 0204 0006 BEQ T82 MVII #-1,R0 ERROR - expression exceeds available field width 52a9 02b8 ffff There is intybasic 0.7.3 and this project been compiled under intybasic 6. I'm kinda stumped on how/why it is producing error. The latest one:http://atariage.com/forums/topic/223886-intybasic-compiler-v07-now-with-intycolor/ Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 1, 2014 Share Posted July 1, 2014 Now there's 39 errors. I quit. It's impossible. Thanks for trying, but I guess I'm too stupid. Quote Link to comment Share on other sites More sharing options...
catsfolly Posted July 1, 2014 Share Posted July 1, 2014 Now there's 39 errors. I quit. It's impossible. Thanks for trying, but I guess I'm too stupid. You're not stupid, it's just a pain to get everything set up initially. If you send the .lst file, we will be happy to look at it. I want to play "Nice Ice" on the Intellivision! Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 1, 2014 Share Posted July 1, 2014 (edited) Here's the list file from when it got 39 errors. http://www.atari2600land.com/test2.lst Edited July 1, 2014 by atari2600land Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.