Welcome,
Guest
. Please
login
or
register
.
May 23, 2012, 08:18:09 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
If you see anyone spamming please PM me or email
reportspambot@game.geek.nz
to let me know - chiQ
109672
Posts in
6137
Topics by
2510
Members
Latest Member:
vivahazelbaker
ROME.RO GameTalk
General
Dr. Apple ][
Assembly x AS BASIC intergration and High Score table
0 Members and 3 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Assembly x AS BASIC intergration and High Score table (Read 4152 times)
T-Squared
A Widdle Baby
Offline
Posts: 2
Assembly x AS BASIC intergration and High Score table
«
on:
April 15, 2007, 03:07:02 PM »
Hey John. (Yes, I know you're with id Software) I'm basically a brand new programmer, but I've had some previous simple experience with BASIC code. As for assembly, I'm new to it, so I have to rely on other bits of code laying around the internet.
Anyway, I have a few questions that I hope you could help me with.
1. I'm making a "professional" homebrew game, but I'm having trouble with the AS BASIC interpreter reading and printing a high score table to the screen (I used a snippet of code that you had in a magazine on SmugMug to make the high scores) How do I read into the high score table and then output it to the screen?
2. How do I load an assembly program into my BASIC program? (I want to BLOAD it when the program starts, and then call the address where the assembly program is later when it's needed, but I don't know how.)
Logged
The Romero
Administrator
Hardcore Forum Freak
Offline
Posts: 1545
Re: Assembly x AS BASIC intergration and High Score table
«
Reply #1 on:
April 21, 2007, 09:36:23 PM »
Ok, for starters I actually LEFT id Software 11 years ago. Many things have happened since then. Currently I own an MMORPG game company in the Bay Area.
I'm guessing AS BASIC stands for AppleSoft BASIC. You should be able to tell from the listings that you have to create a text file with scores in it that you later read into your BASIC program and print to the screen. I think this is already demonstrated in the Major Mayhem listing on line 1340 where it creates and writes a brand-new scores file. Line 1350 will read in the scores file into some arrays. It's that simple.
Logged
John Romero
Webmaster, //Rome.ro
--------------------------------
Galbadia Hotel
T-Squared
A Widdle Baby
Offline
Posts: 2
Re: Assembly x AS BASIC intergration and High Score table
«
Reply #2 on:
April 29, 2007, 05:54:19 PM »
Oh... O_O I didn't realize that you left id.
Anyway, thanks for the info. And I was able to use a snippet of code from City Centurian to create the high score text file. (I do know that you could read the text file into the program, I just didn't know how to do it.)
Logged
Pages:
[
1
]
« previous
next »