• Please review our updated Terms and Rules here

TRS-80 Game - Emperor

GeoffB17

Veteran Member
Joined
Jun 8, 2016
Messages
578
Location
Guisborough, England
I've been hijacking the 'Help Please' thread, apologies.

I've found the .BAS file for the EMPEROR game, but it's tokenised basic and my efforts to untokenise have not worked so far. I'm getting a result, line numbers are fine, some keywords might be ok, but many are not. I can guess what some might be, but I'm hoping to get a proper conversion.

I attach the file I've got now, in case anyone can load/save on a TRS-80 (II I think).

A chunk of the code will be for a map of Europe, crude but effective. Screen images from the game are on the web (Game Geek site) for comparison.

Geoff
 

Attachments

  • emperor.zip
    6.6 KB · Views: 3
Forgot that I made changes to the file. The attachment is the original text of the BASIC I got.
 

Attachments

  • emperor.zip
    5.7 KB · Views: 5
Yes, yes, that looks good. Looks like it ought to.

I'd gone back to the WILLUS site, and tried the search, various versions of emperor etc, and found nothing. I assume I was doing something wrong, but what?

Anyway, got a good version now, so I can work on that. Get it to work on my system, then start on changes.

Massive thanks.

Geoff
 
Aha - not so simple, of course.

The machine I want to use is my Amstrad PCW, this is a CP/M machine. The standard BASIC is pretty good, but there are no 'graphics' facilities. Well, this is normal for CP/M systems, as the hardware (terminal type) is not standard.

The PCW has a bit mapped screen, so it's possible. But no SET command built in.

There are a couple (maybe even 3 or 4) variants of extension to the Mallard Basic provided, and these do have facilities, at least for PLOT (set a specific dot on/off) and DRAW (draw a line) so I'll have to start with that. Having the TXT version I can use Search/Repl to automate at least a bit.

The other commands should be no problem.

Geoff
 
Geoff - If you ever find a tokenized TRS-80 program, the best way to untokenize is to load it into a TRS-80 emulator and then save it as ASCII. This method will avoid any bugs or issues you might have with third party detokenizers.

Ira
 
FYI: For most BASIC’s to save as ASCII (not tokenized) just follow the filename (in quotes) with comma A:

SAVE “FILENAME”,A
 
Back
Top