MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

tamalmalamarrado
MAME Fan
Reged: 06/10/07
Posts: 48
Send PM


GALAXY GAME!!! :D :D :D
#267643 - 10/31/11 11:40 PM


http://git.redump.net/mame/commit/?id=82f79ffd25b2c87780d1e89b5a42b805810580a5


http://en.wikipedia.org/wiki/Galaxy_Game



Quantum Leaper
OCRer and Monkey Typist for Galaxy Game
Reged: 03/08/04
Posts: 198
Loc: Orion spiral arm of the Milky Way
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: tamalmalamarrado]
#267665 - 11/01/11 04:44 AM


> http://git.redump.net/mame/commit/?id=82f79ffd25b2c87780d1e89b5a42b805810580a5
>
>
> http://en.wikipedia.org/wiki/Galaxy_Game

The question is will MAME devs add the game, since it not a T11 but a PDP-11 game, and the person who added it is using the T11 as the CPU. Even though the T11 is a PDP-11 on a chip it doesn't not have all the same opcodes, even though Galaxy Game doesn't use the opcodes that are not in the T11. If I remember correctly RB told me that it had to be added as a PDP-11 and not a T11 cpu. Which meant someone had to add the PDP-11 cpu first.

I wonder how he going to get the game to run, since the Rom_Load is for the .lst file which is a compiled listing of the source code (ASCII) and not a binary executable. I guess you could load it from the source listing, but you would have figure out and convert the ascii to binary. The binary is only 5,910 bytes vs. 126,924 bytes...

Also the original galaxy game listing has 2 bugs in the listing, its either a printer problem or compiler problem from 1971, it effects only the ROL commands, I didn't correct it in the listing but it is correct in the compiled version. Which you have to compile yourself, I didn't post a binary on the website, since if you can use the program, you should be able to compile the program.

Source code....
Galaxy Game Source code



mariuszw
MAME Fan
Reged: 09/26/07
Posts: 11
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: Quantum Leaper]
#267685 - 11/01/11 10:19 AM


First of all thanks for your hard word on OCR-ing original PDF listing, it made Galaxy Game driver possible.

T11 is good enough for the driver at this point, when PDP-11/20 is emulated (which may happen on MESS side), driver may be switched to use it.

I'm loading code from compile code listing (taken from your site actually). I guess it is best option now, as it allows source code to be preserved, while still loading compiled code from it.

About the bugs: I assume you are referring to these:
1006 006432 006601 10060 ROL R1
1007 006434 006602 10070 ROL R2
These are now patched during loading to use correct ROL opcodes.
If there are more bugs in original listing which you fixed then, please let me know.

Mariusz.

> > http://git.redump.net/mame/commit/?id=82f79ffd25b2c87780d1e89b5a42b805810580a5
> >
> >
> > http://en.wikipedia.org/wiki/Galaxy_Game
>
> The question is will MAME devs add the game, since it not a T11 but a PDP-11 game,
> and the person who added it is using the T11 as the CPU. Even though the T11 is a
> PDP-11 on a chip it doesn't not have all the same opcodes, even though Galaxy Game
> doesn't use the opcodes that are not in the T11. If I remember correctly RB told me
> that it had to be added as a PDP-11 and not a T11 cpu. Which meant someone had to add
> the PDP-11 cpu first.
>
> I wonder how he going to get the game to run, since the Rom_Load is for the .lst file
> which is a compiled listing of the source code (ASCII) and not a binary executable. I
> guess you could load it from the source listing, but you would have figure out and
> convert the ascii to binary. The binary is only 5,910 bytes vs. 126,924 bytes...
>
> Also the original galaxy game listing has 2 bugs in the listing, its either a printer
> problem or compiler problem from 1971, it effects only the ROL commands, I didn't
> correct it in the listing but it is correct in the compiled version. Which you have
> to compile yourself, I didn't post a binary on the website, since if you can use the
> program, you should be able to compile the program.
>
> Source code....
> Galaxy Game Source code



SmitdoggAdministrator
Reged: 09/18/03
Posts: 16877
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: Quantum Leaper]
#267706 - 11/01/11 05:01 PM



> The question is will MAME devs add the game,

When you see it there in the git site, that means it is added already and will be in the next release. It doesn't mean it works, though.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: Smitdogg]
#267707 - 11/01/11 06:04 PM


> > The question is will MAME devs add the game,
>
> When you see it there in the git site, that means it is added already and will be in
> the next release. It doesn't mean it works, though.

It appears to be playable after hap added the "thrust" button.



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: Smitdogg]
#267711 - 11/01/11 07:20 PM


> > The question is will MAME devs add the game,
>
> When you see it there in the git site, that means it is added already and will be in
> the next release. It doesn't mean it works, though.

he probably meant that it's currently using the wrong CPU so that it could have been removed pending the proper CPU to be emulated. however, Mariusz already commented on that. so it's there to remain



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: etabeta]
#267712 - 11/01/11 07:39 PM


> he probably meant that it's currently using the wrong CPU so that it could have been
> removed pending the proper CPU to be emulated. however, Mariusz already commented on
> that. so it's there to remain

It's not really a wrong CPU. It's written for a version of the same CPU family with more instructions than the T-11, but it doesn't use any of the additional instructions so the whole thing is a giant NOP and there will be no functional change once the "correct" one is added. The Funcube games were much more wrong prior to my adding real ColdFire support than this will ever be.



gregf
Ramtek's Trivia promoter
Reged: 09/21/03
Posts: 8603
Loc: southern CA, US
Send PM


Re: GALAXY GAME new [Re: tamalmalamarrado]
#267736 - 11/01/11 11:55 PM


Kudo's to various contributors for keeping dream alive for past several years and it has paid off. And also applauds to Mr. Bill Pitts too.


Galaxy Game should now get recognition being the "first coin-operated video game"; not "first arcade video game". A difference between the two descriptions since the game wasn't mass marketed although maybe there was a plan to do that at the time. It could have had some limited success, imo, in arcades back then if it could have been successfully mass marketed.


Time for Arcade database web sites to start copying, borrow, grab etc of some notes from
Ranger_lennier's MAME Page: http://ranger.mameworld.info/

And any needed info from the other links because some of the pages and links are now currently "404" and no longer there.


=====
Stanford's Galaxy Game page

old url- http://www-db.stanford.edu/pub/voy/museum/galaxy.html
new url- http://infolab.stanford.edu/pub/voy/museum/galaxy.html


A news article on Spacewar, Galaxy Game, and Computer Space
http://ed-thelen.org/comp-hist/PDP-1-SpaceWar-Article.html

But credit for the first commercial video game actually goes to Bill Pitts, a Stanford graduate named who with a high school friend, Hugh Tuck, installed "Galaxy Game," a coin-operated version of "Spacewar," in Stanford's student union several months before Bushnell introduced "Computer Space."
====



I don't know why there is a description of Computer Space being a flop. Granted it wasn't as popular as pong, but Computer Space did have some limited success imo. I remembered seeing some folks lining up to play Computer Space back in winter 1971 when there was a Computer Space cab in a Straw Hat pizza parlor.

Edited by gregf (11/02/11 12:00 AM)



Quantum Leaper
OCRer and Monkey Typist for Galaxy Game
Reged: 03/08/04
Posts: 198
Loc: Orion spiral arm of the Milky Way
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: mariuszw]
#267756 - 11/02/11 03:13 AM


> First of all thanks for your hard word on OCR-ing original PDF listing, it made
> Galaxy Game driver possible.


It was a easy project to do, it was a lot harder when I had my WatFiv program get eaten by the CP/M upload computer, back in the 80s. I only had 12 compiles to redo the program from the listing, never did get it correct but I was the only one to have output for the program, I learned that from the teacher, after the final.

> T11 is good enough for the driver at this point, when PDP-11/20 is emulated (which
> may happen on MESS side), driver may be switched to use it.

I agree with that, since we really don't know if the code even runs correctly.

> I'm loading code from compile code listing (taken from your site actually). I guess
> it is best option now, as it allows source code to be preserved, while still loading
> compiled code from it.

I hope the code is correct, I'm not 100%, but 99% positive it is correct. All I do know is that the octal code should match, at least it does will the AsmPDP version, the Macro11 version, doesn't seem to compile an absolute address version. Which ever way you want to load the program is fine by me, I would have thought a binary would have been easier.

> About the bugs: I assume you are referring to these:
> 1006 006432 006601 10060 ROL R1
> 1007 006434 006602 10070 ROL R2
> These are now patched during loading to use correct ROL opcodes.
> If there are more bugs in original listing which you fixed then, please let me know.
>

Yes, those are the lines I am referring too, even Bill said the PDF is incorrect and the 66 should be a 61 octal.



Quantum Leaper
OCRer and Monkey Typist for Galaxy Game
Reged: 03/08/04
Posts: 198
Loc: Orion spiral arm of the Milky Way
Send PM


Re: GALAXY GAME!!! :D :D :D new [Re: mariuszw]
#267811 - 11/02/11 07:25 PM


> I'm loading code from compile code listing (taken from your site actually). I guess
> it is best option now, as it allows source code to be preserved, while still loading
> compiled code from it.
>
Just be careful with the compiled code when you convert it, it is in Octal and there are .=.+10 which would be a buffer which doesn't show up in the numbers other than two address. Example would be the 7626 to 7654 in BLOW1 line.


1498 007626 000000 12380 BLOW1: 0
1499 007754 12390 . = . + 84.
1500 12400
1501 007754 000000 12410 BLOW2: 0
1502 010102 12420 . = . + 84
1503 12430
1504 010102 000000 12440 RVEL: 0
1505 010230 12450 . = . + 84
1506 12460




Lines 1502 and 1506, the .=.+84 lines also have a error. They should have a period after the 84. Which means the 84s are NOT Octal but Decimal. Other than that it should be correct, I forgot to upload the fix for the Listing, I believe I upload corrections to the source though. You are converting the numbers correctly? .=.+84. means a buffer of 84 bytes.

The numbers for the Buffers are correct in Octal, though.

Also in line 2256 it should only have one Zero not 3

2256 014120 000 17330 .BYTE 0,0,0


Fixed:

2256 014120 000 17330 .BYTE 0


Those are the three errors, in the code I found a while ago, and forgot to upload the corrected listing, but I believe I did upload the correct .MAC files of source code. That is also why I thought it would be easier to use a binary instead of the compiled source listing. Since you have to do a lot of work to get workable code.

I will upload a corrected copy right after I finish this message.



GatKong
Tetris Mason
Reged: 04/20/07
Posts: 5907
Loc: Sector 9
Send PM


YaY!!! new [Re: tamalmalamarrado]
#267816 - 11/02/11 08:04 PM


I'm glad to see this historic landmark finally get included.

MAME for the win!

Woot!







ranger_lennier
Reged: 04/07/05
Posts: 1127
Send PM


Re: YaY!!! new [Re: GatKong]
#268920 - 11/18/11 04:00 AM


Well, I've clearly been slacking off on checking the forums here. Definitely a cool addition. It seems that the cabinets they produced were pretty popular at Stanford, but PDP–11's were just too expensive to make up for the initial investment. Truly a project ahead of its time.

Anyone is free to use the information on my Galaxy Game webpage for documentation purposes. The only 404 error I found was the link to Bill Pitts' biography. I'm afraid I don't have a saved copy of this, and it doesn't appear to be on archive.org.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 318 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2196