Want to start making games, no luck at all

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
danibus
Very interested
Posts: 142
Joined: Sat Feb 03, 2018 12:41 pm

Want to start making games, no luck at all

Post by danibus »

Hi there

I want to learn to make games for Megadrive/Genesis. I know C but before I tried to use Basic to start, remembering my Spectrum days long time ago.

First I tried to install BasiEgaXorz.
First example:

Code: Select all

	print "hello"
When compiling I get error:

Code: Select all

basic.s:1: *** Error:  Illegal opcode 'PRINT' ***
                        	print "hello"
Don't know what to do ( I put a space/tab before print), nothing in google.
Think print is not illegal but, how knows, something is wrong but I don't know what.

So I installed SecondBasic. Ok, it's updated, ok I change config as there are some wrong paths after install program, then I succesfully compile some examples.
But every example I make, always the same in the compiler, black screen and 2 zeros (please see attached).

Seems I have to forget about Basic and go to SGDK :oops:
Attachments
Captura.PNG
Captura.PNG (3.38 KiB) Viewed 11753 times
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Re: Want to start making games, no luck at all

Post by Chilly Willy »

SecondBasic has a rather particular way of implementing basic. You need to work from examples. Someone on the discord is doing a Mortal Kombat like fighter for the MD in SecondBasic, so it's pretty powerful - more than enough for many games.

That said, you probably want to learn C and used something like SGDK as it will let you get more from the MD in the long run. SGDK comes with a number of nice examples.
danibus
Very interested
Posts: 142
Joined: Sat Feb 03, 2018 12:41 pm

Re: Want to start making games, no luck at all

Post by danibus »

I think SGDK is used today, not sure about Basic scene for MD. I will try C instead.

Thanks Chilly Willy
slobu
Very interested
Posts: 85
Joined: Tue Apr 03, 2012 6:02 pm

Re: Want to start making games, no luck at all

Post by slobu »

Both BasiEgaXorz and SecondBASIC have online documentation and forums for community based support. You'll find assembly and C oriented answers here. Not a bad thing but obviously not the primary source for BASIC compiler related solutions.

The original poster has probably moved on but I figure these links will be found by others with similar needs.

BasiEgaXoz Documentation:
http://devster.monkeeh.com/sega/basiega ... _full.html

BasiEgaXorz Forum:
http://devster.proboards.com/board/1/basiegaxorz-forums

SecondBASIC Documentation:
http://www.second-dimension.com/modules/apollo/

SecondBASIC Forum:
http://www.second-dimension.com/forums/secondbasic/
danibus
Very interested
Posts: 142
Joined: Sat Feb 03, 2018 12:41 pm

Re: Want to start making games, no luck at all

Post by danibus »

Thanks. Already started with SGDK and making some progress.
This post can be closed :D
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Re: Want to start making games, no luck at all

Post by Chilly Willy »

This is a forum, not a bug tracker. Threads can be locked if they get abusive or similar, but otherwise stay open forever. :D

Besides, sometimes threads like this need to be updated, like if new urls with similar info that may help people come along. Or someone really interested in SecondBasic finds this thread and has more questions.
slobu
Very interested
Posts: 85
Joined: Tue Apr 03, 2012 6:02 pm

Re: Want to start making games, no luck at all

Post by slobu »

Glad you found (and continue to find) momentum on your project danibus!

What SGDK related stuff did you find that got you farther? IDE's, utilities, documentation kind of stuff? I might follow your lead someday :)
Post Reply