Jump to content

Recommended Posts

Posted (edited)

Hey, forum,

 

I got my TI back in 84, including joysticks, Wumpus and Tombstone City cartridges. Man, I was jealous with my friends having Extended Basic Modules and one even owning the Speech Synthesizer. Now, 35 years later, I'm back, using the Classic99 emulator. On Ninerpedia (which seams to be dead for a couple of years), I found the challenge to upgrade the old "Bomber" Basic game, which I played hours and hours and hours, so this is my current project to port this to Extended Basic and to port this to GPL and maybe to port this to ASM in the next months.

 

Let the past be the future 

Edited by SuperSixEVO
  • Like 6

Share this post


Link to post
Share on other sites
31 minutes ago, SuperSixEVO said:

On Ninerpedia (which seams to be dead for a couple of years)

I'd object to the view that Ninerpedia is dead. It has not been updated too often, yes.

  • Like 3
  • Haha 1

Share this post


Link to post
Share on other sites

BTW, I've been consulting Ninerpedia quite frequently in recent time, for topics of file formats, wait state handling, and other things. I did not change it on those occasions, since I had no need to do it.

  • Like 6

Share this post


Link to post
Share on other sites

I quite enjoy reading ninerpedia.  I seem to find myself consulting there and mainbyte and Thierry’s page frequently.  And whtech as well.  Thanks to everyone who maintains those and all the other sites devoted to our hobby.

  • Like 2

Share this post


Link to post
Share on other sites
14 hours ago, ti99iuc said:

Welcome! :)

i am curious, you mean this one Bomber or another? 

No, the one that's on my profile picture. This was the original source (https://www.ninerpedia.org/images/d/d8/Dbomber.txt) and I already replaced the bomb by a sprite so that the game doesn't get slower once the bomb is dropped. I plan adding a StuKa (Dive Bomber) mode next where the plane goes down one line and the bomb causes extra damage and after this I'll add defense canons which can be evaded by using an afterburner.

 

And for those suggesting a Basic Compiler to speed the game up, I coded intros for a cracking group on PC later, so digging deeper into GPL and ASM is an absolute MUST for me ;-) 

  • Like 5

Share this post


Link to post
Share on other sites

The source is almost original, except for my BESTENLISTE subprogram that I added at the end (high score list). :)

 

It was the first program that I typed in from a computer magazine.

  • Like 1

Share this post


Link to post
Share on other sites

Fighting Spaghetti Code is such am mess, trying to avoid as much as GOTOs as possible..... feeling like an April 1st fool...

  • Like 1

Share this post


Link to post
Share on other sites

A lot of the mess comes from the lack of being able to indent code in BASIC, IMO.  You can't see the structure, so it makes the code hard to follow and keep a mental picture of where you are.  Try TidBit, it might help you organize your code better.

 

http://codehackcreate.com/archives/237

 

  • Like 1

Share this post


Link to post
Share on other sites
On 3/25/2020 at 11:51 AM, mizapf said:

It was the first program that I typed in from a computer magazine.

This one, in case you know it.

Homecomputer-Magazin.jpg

  • Like 1

Share this post


Link to post
Share on other sites
12 hours ago, matthew180 said:

A lot of the mess comes from the lack of being able to indent code in BASIC, IMO.  You can't see the structure, so it makes the code hard to follow and keep a mental picture of where you are.  Try TidBit, it might help you organize your code better.

 

http://codehackcreate.com/archives/237

 

The editor looks nice, I'll have a closer look at it. Yet, it still leaves the old code unstructured as we weren't forced to a more structured approach but could jump around like a hyperactive kid ;-) So, right now, I just re-think what the result of the code was and then re-write it from scratch. For now I got rid of all the GCHAR calls, reading from video memory is such a bad idea when you actually already know what you put on screen before.

Share this post


Link to post
Share on other sites
1 hour ago, SuperSixEVO said:

The editor looks nice, I'll have a closer look at it.

It is just a translator, no editor other than the webpage provides a textbox so you can try it out online.  Best to just download the PHP and run it locally.

 

1 hour ago, SuperSixEVO said:

Yet, it still leaves the old code unstructured...

True.  There is nothing to be done for old original code, except remember how crazy it could get.

 

1 hour ago, SuperSixEVO said:

... I just re-think what the result of the code was and then re-write it from scratch.

This is the best solution, and this is where TidBit can help you a lot.  You can rewrite your code in a format the allows you to have some structure, forget about line numbers, use labels, etc..  You will still end up with a line-number BASIC (or XB) program, but at least it will have more structure and probably not jump around like the old original code.

1 hour ago, SuperSixEVO said:

... reading from video memory is such a bad idea when you actually already know what you put on screen before.

Agree.  Treating the screen as a write-only device is a good philosophy and practice, IMO.

  • Like 1

Share this post


Link to post
Share on other sites
4 hours ago, SuperSixEVO said:

Happy Computer, Homecomputer, HC Mein Home-Computer, yes I remember. March 83, wow.

I have fond memories of all of those German computer magazines and more. . .

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...