??? HAPPY MEMORIAL DAY ??? here's some SecondBASIC code to celebrate with!

[Released: 1988] The Sega Genesis was Sega's most successful console; though Sega has never released a total sales figure quote. Several add-ons were created including the Sega CD and Sega 32X which extended its capabilities.

Post Reply
User avatar
/genesis
Corporate
Posts: 8534
Joined: Tue Jun 04, 2019 11:44 pm

??? HAPPY MEMORIAL DAY ??? here's some SecondBASIC code to celebrate with!

Post by /genesis »

' ' program written in SecondBASIC 3.10.62 ' ' use SecondBASIC to create a ROM file. ' ' run on your Sega Genesis emulator. ' ' or on a special cartridge for a real Mega Drive. ' ' let's celebrate an American holiday! ' Palette Rgb(7,0,0),1,1 ' red Palette Rgb(7,7,7),2,1 ' white Palette Rgb(0,0,7),3,1 ' blue ' notce how the number in between the Rgb(r,g,b) and right number is the attribute. Color 1 Print " HAPPY "; Color 2 Print "MEMORIAL "; Color 3 Print "DAY "; Print Print Do c = JoyPad(0) r = Rnd(7) g = Rnd(7) ' might as well include some random colors! b = Rnd(7) Palette Rgb(r,g,b),4,1 Color 4 For y=1 To 15 For x=1 To 30 ch=Rnd(100)+32 Locate 4+y,4+x Print Chr$(ch); Next Next Color 2 Print Locate 20,2 Print "press any button to celebrate" Print While JoyPad(0)=0 Wend Loop
submitted by /u/SupremoZanne
[link] [comments]

More...
Post Reply

Return to “Genesis Forum”