Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: TMS9900 assembly language  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
TMS9900 assembly language
« on: November 17, 2007, 11:43:05 pm »
Has anybody done any assembly language programming on a TMS9900 microprocessor? I have been crunching through some books (up to my third one now), and the pieces are just not falling into place.

Am I THAT stupid or is it really THIS hard?


Living the delusional lifestyle.

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: TMS9900 assembly language
« Reply #1 on: November 18, 2007, 12:31:45 am »
Best guess - you're working on a TI99?  I've done a little - and I do mean a little - TMS9900, but it was years ago.  I think I was like 10.  I know you're a fellow TI99 guy... IMO, it's harder now than it was then because back then it was cutting edge - it was proper technique.  Nowadays you get guys with masters degrees in cmpsci that have never seen assembly.

IMO, the biggest problem with assembly on the TI99 was that the CPU was 16 bit but the damn RAM was only 8 bit... it crippled the instruction set.  That's why nearly all programming for the TI99 was done in basic... though look into GPL, which IIRC was an interpreter that was easier than TMS9900 and could be run on top of the CPU on the TI994/A.

Of course, if my guess of your motivation is wrong, slap me in the head and tell me to move on.

Also, I'd be surprised if there aren't any "post modern" compilers for that CPU... maybe a C compiler for it now, written well after the fact by fans.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: TMS9900 assembly language
« Reply #2 on: November 19, 2007, 06:54:28 am »
Best guess - you're working on a TI99?
Yep, you are spot on.

I just found the original Editor Assembler documentation online and ordered it. Hopefully this might offer a little more enlightenment....

Living the delusional lifestyle.

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: TMS9900 assembly language
« Reply #3 on: November 19, 2007, 09:41:13 am »

You just want to say naughty words through the speech synthesizer, don't you?

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: TMS9900 assembly language
« Reply #4 on: November 19, 2007, 02:01:30 pm »
Not to steal the topic here.

Nowadays you get guys with masters degrees in cmpsci that have never seen assembly.

It's worse than that. Some universities are churning out largely incompetent people.

I had to deal with a professor who was adamant about doing "proper techniques." In a nutshell, this meant writing code, regardless of system impact, efficiency or maintainability. So his idea of "correct" code was something that took up thirty or so lines wwhen the same practical code could be condensed down to ten or fifteen.

I understand the need to teach computing theory, but teaching the intricacies of a Bubble Sort for three weeks and spending only one week, total, on other sorts is just plain sadistic.

Another professor have the gall to tell me, "Don't ever worry about wasting RAM, there's always plenty." At the time I had to use a borrowed PC with only 64MB. :banghead:

Another always required all variables, "at the top," forcing all to be global. (Turns out she checked the, "validity," of the code by running the code once, then comparing the variables to her "master" program.  :dizzy: )

There should be an exit course required for all CompSci majors, Practical Application 101.

And now, we return to your regularly scheduled topic.
« Last Edit: November 19, 2007, 02:04:42 pm by SavannahLion »