Jump to content

Photo

TI Carts in Assembly and GPL


9 replies to this topic

#1 acadiel OFFLINE  

acadiel

    Dragonstomper

  • 929 posts
  • www.hexbus.com
  • Location:USA

Posted Sun May 14, 2017 12:41 PM

(Topic should be "Assembly and GPL" - sorry about that)

 

So - I know that TI for a fact released Tombstone City and TI Invaders as Editor Assembler disks; you can assemble and load the games.

 

They obviously also have GROM cartridges with these programs in them.

 

So, did TI write the programs in GPL /and/ Assembler, or did they transcode the assembler into GPL?

 

Anyone know?  I've always been curious about this.



#2 Asmusr OFFLINE  

Asmusr

    River Patroller

  • 2,426 posts
  • Location:Denmark

Posted Sun May 14, 2017 12:58 PM

A have been wondering the same. Tombstone City and TI Invaders have both ROM and GROM. Perhaps the GROM is used primarily for data? 



#3 Ksarul OFFLINE  

Ksarul

    River Patroller

  • 4,131 posts

Posted Sun May 14, 2017 3:05 PM

You can add Munch Man to this list as well. I have one of the disks. . .



#4 Lee Stewart ONLINE  

Lee Stewart

    River Patroller

  • 3,315 posts
  • Location:Silver Run, Maryland

Posted Sun May 14, 2017 4:03 PM

(Topic should be "Assembly and GPL" - sorry about that).

 

You can change the title of the thread by editing post #1 and choosing "more reply options", especially in the "TI-99/4A Development" subforum.

 

...lee



#5 RXB OFFLINE  

RXB

    River Patroller

  • 2,726 posts
  • Location:Vancouver, Washington, USA

Posted Sun May 14, 2017 6:50 PM

A have been wondering the same. Tombstone City and TI Invaders have both ROM and GROM. Perhaps the GROM is used primarily for data? 

GPL is excellent at Menu and Input data setup and data for programs.

 

Assembly is horrid at wasting memory, even if you optimize it the amount of time is wasteful for the return.

 

I mean the TI99/4A only has 32K of RAM but has 40K of GROM space per Cart with 16 Slots for 640K of GROM in console alone.

(Even if you only use 6K GROMs that comes to 30K per CART)

 

Now before the SAMS or other expansion memory cards this was your only option, besides with no 32K Expansion you could run games from just a CART.


Edited by RXB, Sun May 14, 2017 6:52 PM.


#6 acadiel OFFLINE  

acadiel

    Dragonstomper

  • Topic Starter
  • 929 posts
  • www.hexbus.com
  • Location:USA

Posted Mon May 15, 2017 9:22 AM

GPL is excellent at Menu and Input data setup and data for programs.

 

Assembly is horrid at wasting memory, even if you optimize it the amount of time is wasteful for the return.

 

I mean the TI99/4A only has 32K of RAM but has 40K of GROM space per Cart with 16 Slots for 640K of GROM in console alone.

(Even if you only use 6K GROMs that comes to 30K per CART)

 

Now before the SAMS or other expansion memory cards this was your only option, besides with no 32K Expansion you could run games from just a CART.

 

So, it's obvious that TI wrote TI Invaders, Tombstone City, and Munchman in Assembly.  We have the source for all three.  My question is how did they translate this into GPL to work with the GROMs?  Did they have some internal Assembly->GPL conversion utility on their 990?



#7 Asmusr OFFLINE  

Asmusr

    River Patroller

  • 2,426 posts
  • Location:Denmark

Posted Mon May 15, 2017 11:08 AM

If you look at the GROM for TI Invaders in a graphics ripper it appears that at least one 3rd of the space is used for graphics. 

 

Attached File  invgfx.png   23.16KB   2 downloads

 

The list file produced from the assembling the source code also shows that there's roughly 5K data and 6.5K program. So the machine code would fit nicely into the ROM and the GROM could be used for loading data alone (except for a GPL header to bootstrap the program).

 

I don't know if my theory is correct, but if I was to convert an assembly program into running from ROM/GROM this it how I would do it.  :)

Attached Files



#8 jedimatt42 OFFLINE  

jedimatt42

    Stargunner

  • 1,211 posts
  • Location:Beaverton, OR

Posted Mon May 15, 2017 11:28 AM

We heard from John Philips (a developer of TI titles BITD) not long ago, and he stated that is exactly what he would do: he used the Groms for data and the Rom for code.

-M@

#9 sometimes99er OFFLINE  

sometimes99er

    River Patroller

  • 3,909 posts
  • Location:Denmark

Posted Tue May 16, 2017 12:25 AM

Remember that TI Invaders is 4K ROM and 6K GROM. This GROM picture is much the same as the one Rasmus posted, and limited to the 6K. ;)

 

tiinvaders4.png



#10 S1500 OFFLINE  

S1500

    River Patroller

  • 4,517 posts
  • Location:Twin Cities

Posted Tue May 16, 2017 7:00 AM

Fascinating. What does a graphics rip of Munch Man look like?  N/M I found the thread for it, started by me. Heh


Edited by S1500, Tue May 16, 2017 7:02 AM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users