Compiling/running old basic game

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
anormal
Newbie
Posts: 3
Joined: Sat Dec 05, 2015 2:39 pm

Compiling/running old basic game

Post by anormal »

hi guys!

This is my first post here, i am not a Basic programmer, well i was of course, but 30 years ago :D

I get here after looking for some qbasic forum online,

Let me explain and see if someone here could give any hints:

I've been lately cleaning and sorting all the MSDOS roguelikes i could found. It it's DOS i want it :).

"Dungeon" is a primitive (later versions are more complex obviously) basic/compiled roguelike from author Erik Oredson, all versions i got came with .BAS source code (GWBasic?). These versions are: 1.0, 2.0, 3.0, 6.0 and latest 12.0

All versions were released with source code and compiled by author, except versions 1.0 and 2.0, only source code.

All test i did were under DOSBox (latest version)

If i try to run them in an interpreter (gwbasic 3.23 for example) the program crash with some internal error.

I tried to compile dungeon1.bas with Qbasic 4.5, old MS Bascom from 1982, also with Basic compiler 7.1 PDS, and later with VB DOS 1.0 pro, but both return me a Program-memory overflow. After reading many forums and webpages i tried to compiled with this command

bc dungeon1 /e/o/s/v

but still got memory error.

I am sure the author got these running years ago... so... there must be a way... ;)

The first version i got compiled is 3.0, from 1987, so the compiler used must be before this date. If i examine the executable i can see this string :
"Microsoft BASIC Compiler Runtime Version 5.60 (C) Copyright Microsoft Corp. 1982, 1983, 1984, 1985"

I'll pasted both versions online if anyone want to check it and try compiling

File links removed by Moderator Do not repost!
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: Compiling/running old basic game

Post by burger2227 »

You can try to run them in QB64. It does not have the memory problems QB has. Plus graphic screens are tough on newer computers!

AS TO YOUR DOWNLOADS, I cannot allow them without a specific FILENAME with a BAS extension or TXT for the code!

I assume the files are large so ZIP could be a problem too! You already have a Dropbox account and post those links with BAS file names.

See QB64 link in my signature at bottom of post:
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
anormal
Newbie
Posts: 3
Joined: Sat Dec 05, 2015 2:39 pm

Re: Compiling/running old basic game

Post by anormal »

Hi!, thanks for your answer!!

The links i posted are in pastebin, don't you use it?

It's just a site were you paste text, only text, you don't share binaries or zips, in this case, i pasted the plain text source code for you to browse ;)

Let me know if i can post again this, or maybe here directly in the forum.

The problem is that as DOS games, i wanted a DOS executable, can QB64 compile to plain old DOS?, this game is from 1987 ;)

thanks again !
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: Compiling/running old basic game

Post by burger2227 »

Well the people who come here are usually pretty careful about downloads anyhow.

Clicking on a bad link is all it takes these days. Can you at least give the files a BAS or TXT name.

Drop Box converts BAS files to text too and allows people to copy and paste the code.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
anormal
Newbie
Posts: 3
Joined: Sat Dec 05, 2015 2:39 pm

Re: Compiling/running old basic game

Post by anormal »

Thanks !

I think i found the correct switches for compiling, i asked for help in Reddit, and someone has some hints

https://www.reddit.com/r/roguelikes/com ... n_by_erik/

thanks anyways!
Post Reply