Jump to content

Photo

IntyBASIC compiler


162 replies to this topic

#1 nanochess OFFLINE  

nanochess

    River Patroller

  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Mon Jan 27, 2014 10:32 PM

Hi guys.

 

Along with Space Raid for Intellivision I've been working is this "ultrasecret" project and finally it is giving results TODAY Jan/27/2014 :)

 

So I announce the IntyBASIC compiler :)

 

This is a command-line integer cross-compiler of a small subset of BASIC, it generates assembler for using with as1600, that in turn generates the final executable runnable in real Intellivision and/or emulation via jzintv.

 

I want to do some more tests before releasing it as an executable, but I'm publishing here some example files (BAS source and final binary) for your enjoyment 8)

 

It significatively eases writing games for Intellivision. I know it because the examples I'm attaching were written in less than an hour each one.

 

Edit: Jan/28/2014. now uploaded v0.1 of IntyBASIC compiler :), executables for both Win and Mac. Along with another minigame example (game2.bas named inside Barzack)

Edit: Feb/01/2014, an updated executable for Mac OS X 10.6 and upwards is now available in post #66 http://atariage.com/...-3#entry2918660

Edit: Feb/03/2014, now uploaded v0.2 of IntyBASIC compiler. Updated executables for Win, Mac and now Linux. Added title.bas sample. BITMAP statement enhanced. More descriptions in manual.

Edit: Feb/07/2014, now uploaded v0.3 of IntyBASIC compiler. Added read-only arrays with DATA, arrays with DIM statement. And memory limit detection for variables. Solved various minor bugs and updated manual.

Edit: Feb/12/2014, now uploaded v0.4 of IntyBASIC compiler. Solved bug when assigning to array with constant index. Updated manual slightly.

Attached Files



#2 Jess Ragan OFFLINE  

Jess Ragan

    Phanto of the Opera

  • 8,856 posts
  • Keys and Thank You
  • Location:MI

Posted Tue Jan 28, 2014 3:43 AM

Oh baby, you know what I like!

 

Just promise me you won't do what that Martijn Wenting guy did and announce a BASIC compiler without actually releasing one. God, it's been years and I'm STILL pissed about that!



#3 nanochess OFFLINE  

nanochess

    River Patroller

  • Topic Starter
  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Tue Jan 28, 2014 5:58 AM

Oh baby, you know what I like!

 

Just promise me you won't do what that Martijn Wenting guy did and announce a BASIC compiler without actually releasing one. God, it's been years and I'm STILL pissed about that!

 

It will be released. Start counting seven days from now 8) (althought it could be less ;))



#4 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,115 posts
  • The saga of the Walking Dead continues soon!
  • Location:Clevelandish

Posted Tue Jan 28, 2014 9:31 AM

I scored 102 points on the game :-D.

 

Interesting.  I look forward to seeing what programming tools that you come out with.



#5 5-11under ONLINE  

5-11under

    River Patroller

  • 2,170 posts
  • Location:Ontario, Canada

Posted Tue Jan 28, 2014 9:36 AM

 

It will be released. Start counting seven days from now 8) (althought it could be less ;))

 

Very cool. :)

Okay... Seven!



#6 theloon OFFLINE  

theloon

    Quadrunner

  • 7,872 posts

Posted Tue Jan 28, 2014 9:45 AM

This could be a powerful combo with GroovyBees upcoming flash cart..



#7 ls650 OFFLINE  

ls650

    Quadrunner

  • 5,248 posts
  • Atari rocks!
  • Location:British Columbia

Posted Tue Jan 28, 2014 9:47 AM

That's terrific - I wish we had tools like this for more 8-bit consoles.



#8 catsfolly OFFLINE  

catsfolly

    Moonsweeper

  • 495 posts
  • Location:Japan

Posted Tue Jan 28, 2014 10:23 AM

So far so good!



#9 intvsteve ONLINE  

intvsteve

    Stargunner

  • 1,484 posts
  • Location:At the keyboard

Posted Tue Jan 28, 2014 10:42 AM

Interesting, interesting! Need to check this out later today.



#10 nanochess OFFLINE  

nanochess

    River Patroller

  • Topic Starter
  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Tue Jan 28, 2014 12:28 PM

I passed morning debugging last few quirks and I wrote another game in under a hour (game2.bas, codenamed Barzack) :)

 

Said I seven days? better one :D

 

I think it works just fine so I'm uploading the first version of it. (check first post)

 

Please report any bugs found.



#11 theloon OFFLINE  

theloon

    Quadrunner

  • 7,872 posts

Posted Tue Jan 28, 2014 12:46 PM

Does this need files from jzintv?  jzintv doesn't like my Win 8 64-bit install for some reason.



#12 nanochess OFFLINE  

nanochess

    River Patroller

  • Topic Starter
  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Tue Jan 28, 2014 12:48 PM

Does this need files from jzintv?  jzintv doesn't like my Win 8 64-bit install for some reason.

 

It works standalone.

 

But you'll need at least as1600 or a compatible assembler to process the compilation result and generate the bin file for emulation.



#13 Fushek OFFLINE  

Fushek

    Stargunner

  • 1,115 posts
  • The saga of the Walking Dead continues soon!
  • Location:Clevelandish

Posted Tue Jan 28, 2014 12:53 PM

Fascinating ... I'll have to play with it.  Thanks for releasing!

 

(I'm not a programmer but I did stay at a Holiday Inn Express last night ...)



#14 Jess Ragan OFFLINE  

Jess Ragan

    Phanto of the Opera

  • 8,856 posts
  • Keys and Thank You
  • Location:MI

Posted Tue Jan 28, 2014 2:12 PM

Where would I get said assembler? Not having a lot of luck with a Google search.



#15 5-11under ONLINE  

5-11under

    River Patroller

  • 2,170 posts
  • Location:Ontario, Canada

Posted Tue Jan 28, 2014 2:24 PM

Where would I get said assembler? Not having a lot of luck with a Google search.

 

I think it's included in jzintv. Look in the bin folder.



#16 theloon OFFLINE  

theloon

    Quadrunner

  • 7,872 posts

Posted Tue Jan 28, 2014 2:24 PM

Where would I get said assembler? Not having a lot of luck with a Google search.

 

Not the definitive answer but this site looks like a winner:

http://spatula-city.org/~im14u2c/intv/

 

As a side I got jzint to work on Win 7 32-bit without issue.



#17 5-11under ONLINE  

5-11under

    River Patroller

  • 2,170 posts
  • Location:Ontario, Canada

Posted Tue Jan 28, 2014 2:33 PM

Please report any bugs found.

 

Thanks nanochess. It works!



#18 Jess Ragan OFFLINE  

Jess Ragan

    Phanto of the Opera

  • 8,856 posts
  • Keys and Thank You
  • Location:MI

Posted Tue Jan 28, 2014 6:26 PM

We need to get Random Terrain to write a command list for this one, I think.

#19 nanochess OFFLINE  

nanochess

    River Patroller

  • Topic Starter
  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Tue Jan 28, 2014 6:38 PM

We need to get Random Terrain to write a command list for this one, I think.

 

Did you check the included manual.txt file?



#20 doctorclu OFFLINE  

doctorclu

    ******Blue Max****** *****Class 4*****

  • 5,644 posts
  • (Bubsy Bobcat fan)
  • Location:Dallas, TX - U.S.A.

Posted Tue Jan 28, 2014 7:36 PM


Edit: Jan/28/2014. now uploaded v0.1 of IntyBASIC compiler :), executables for both Win and Mac. Along with another minigame example (game2.bas named inside Barzack)

Want to try this out, which file is the Mac executable?



#21 catsfolly OFFLINE  

catsfolly

    Moonsweeper

  • 495 posts
  • Location:Japan

Posted Tue Jan 28, 2014 8:10 PM

Want to try this out, which file is the Mac executable?

intvbasic is the mac executable.

intvBASIC.exe is the windows executable.



#22 nanochess OFFLINE  

nanochess

    River Patroller

  • Topic Starter
  • 2,295 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Tue Jan 28, 2014 9:13 PM

Want to try this out, which file is the Mac executable?

 

intybasic is the Mac executable, you can run it from the command line shell.



#23 fsuinnc OFFLINE  

fsuinnc

    Chopper Commander

  • 236 posts
  • Location:Chapel Hill NC.

Posted Wed Jan 29, 2014 12:46 PM

This is incredible. Thanks. That's all I can think to say.



#24 retroillucid ONLINE  

retroillucid

    Quadrunner

  • 6,021 posts
  • CollectorVision Games - Publishing Homebrew
  • Location:Montreal, Canada

Posted Wed Jan 29, 2014 12:47 PM

HAIL TO THE KING, BABY! :cool: :thumbsup:

Oscar, ...you're truly amazing! :thumbsup:

#25 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,938 posts
  • Busy bee!
  • Location:North, England

Posted Wed Jan 29, 2014 3:15 PM

Good stuff! Just took a very quick look at one of the demo games final output and I have some suggestions :-

- How about using cart.mac? Its the modern way ;)
- Maybe including tighter integration with the sdk1600 library code to make use of printing, memory copy, memory fill, voice etc.
- Sound code seems to wait for the ISR to trigger. How about updating it in the ISR instead? That way you can play sounds and "do work" at the same time.
- Looking at your ISR "display kernel" it'd be an ideal candidate to allow fractional positioning in the game's main loop as I outlined here.
- Move GRAM reprogramming to after the MOBs have been updated. During VBLANK you are allowed to access GRAM/GROM for longer than the STIC's MOB registers (see interrupts.txt in the sdk1600 programming folder for more info).
- Maybe add kernel build options to call the Inty tracker routines, hand controller button handling etc.
- Any plans to support on cart RAM?

Anyways... Its a brilliant addition to the Inty game development tools and I'm looking forward to seeing where you take it.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users