Conversion of Ouranos! (Weather War) from PET (VIC +16K)

Discussion, Reviews & High-scores

Moderator: Moderators

User avatar
ral-clan
plays wooden flutes
Posts: 3702
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Post by ral-clan »

YES :wink: this last version works with sound right from the start.

But what was the problem?

Also, one final "bug" or "bad feature" to point out. A single keypress of the RESTORE key exits the game and it cannot be continued. Since RETURN keypresses are required a lot in this game, and it is quite easy to mistakenly tap the key above RETURN (being RESTORE), is there any way to fix or remove this "feature"?

A five-year old is hard to console when a she is winning but daddy "mistakenly" presses the wrong key and destroys the game! :lol:
User avatar
Mike
Herr VC
Posts: 4839
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Post by Mike »

That "RESTORE alone works" is a misfeature of FAT-40.

It might be sensible to disable the RESTORE routine completely as with:

Code: Select all

FORI=0TO3:READA:POKE11847+I,A:NEXT
DATA44,17,145,64
which overwrites this part of FAT-40 (called by the NMI vector):

Code: Select all

.C:2e47   A9 D2      LDA #$D2   ; setup BRK vector
.C:2e49   8D 16 03   STA $0316
.C:2e4c   A9 FE      LDA #$FE
.C:2e4e   8D 17 03   STA $0317
.C:2e51   00         BRK        ; call BRK vector
with

Code: Select all

.C:2e47   2C 11 91  BIT $9111   ; Acknowledge NMI 
.C:2e4a   40        RTI         ; End NMI 
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

Since this appears to have become a really popular game, I spent a few hours tonight trying to make a real VIC-20 version. I haven't come very far yet, but given enough time I'm sure it'll be possible to squeeze into 22 columns without losing too much gameplay.

However it definitely looks like +8K memory expansion will be required, perhaps it will be playable with +3K. If anyone wants to help out (or completely take over the project, who knows?), let me know.
Last edited by carlsson on Thu Mar 05, 2009 4:20 pm, edited 1 time in total.
Anders Carlsson

Image Image Image Image Image
User avatar
ral-clan
plays wooden flutes
Posts: 3702
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Post by ral-clan »

Very Cool!

Will I be able to switch the native VIC version to have green on black as well?
User avatar
orion70
VICtalian
Posts: 4341
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

ral-clan wrote:YES :wink: this last version works with sound right from the start.
TWO THUMBS UP :D .
ral-clan wrote:A single keypress of the RESTORE key exits the game and it cannot be continued. Since RETURN keypresses are required a lot in this game, and it is quite easy to mistakenly tap the key above RETURN (being RESTORE), is there any way to fix or remove this "feature"?

A five-year old is hard to console when a she is winning but daddy "mistakenly" presses the wrong key and destroys the game! :lol:
Good to read that a young baby is playing this game... I'm sure she's more demanding than the average Denial member here :P .
carlsson wrote:Since this appears to have become a really popular game, I spent a few hours tonight trying to make a real VIC-20 version. I haven't come very far yet, but given enough time I'm sure it'll be possible to squeeze into 22 columns without losing too much gameplay.
Very nice idea Carlsson, unfortunately I'm losing a lot of time with other VIC things, so I can't be of much help - maybe someone with better programming skills... Thanks in advance for your effort BTW, I agree with Ral-clan about the possibility to switch to the green on black mode. Furthermore, the VIC native version can be multi-colour: blue clouds, green lightnings, and red houses would be SO nice! :wink:
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

22 column version of Weather

I have made the houses smaller: 6x4 instead of 7x4 characters which means the game should end a bit sooner. I also made the display 21 characters wide, so lines wouldn't get merged resulting in all sorts of weird stuff. At least the dreaded Act of Nature in itself shouldn't corrupt the screen.

Edit: Download links and screenshot removed due to new version released later.
Last edited by carlsson on Thu Mar 05, 2009 4:22 pm, edited 1 time in total.
Anders Carlsson

Image Image Image Image Image
User avatar
orion70
VICtalian
Posts: 4341
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

:D
Great job, Carlsson! Houses are quite huge in this version though, looks like it's much easier to destroy them, but it's an help for both players, so the game remains balanced and it lasts less. :P
Last edited by orion70 on Fri Mar 06, 2009 4:31 am, edited 1 time in total.
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

This is probably my final version of Ouranos for the VIC-20.

Image

As you can see, I chose a default colour scheme green on black, but added some colours:

Houses - red and blue
Cloud and tornado - cyan
Hail and lightning - white
Rain - yellow (don't drink yellow rain...)

I also studied the sound generation on PET and fixed the small machine code routine at $033A. I think it is a rather faithful adaption of the PET game, hopefully without any major bugs.

Download here: http://www.cbm.sfks.se/files/weather-20.zip (+8K RAM)

By the way, I spotted (*) one straight port and one improved remake of this game on the "brown machine". While graphics were somewhat hotted up in the remake, it doesn't seem to add anything more than my version does. ;-)

Have fun, and say hi to Kathy Higby if you see her!

Edit: Oops, I never checked end of game calculations! :oops: Anyway, I think it works better now.

(*) On Moby Games.. since someone already added me as a games developer on their site, perhaps I should point them to this port as well.
Anders Carlsson

Image Image Image Image Image
User avatar
ral-clan
plays wooden flutes
Posts: 3702
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Post by ral-clan »

This looks great!
User avatar
orion70
VICtalian
Posts: 4341
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

Thanks Carlsson, it's very well done (and fun). Why don't you add it to the new software releases fo 2009 in General topics? It is a brand new game!
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

Perhaps your Fat-40 and my 22 column versions can share one entry.. ;-)
Anders Carlsson

Image Image Image Image Image
User avatar
orion70
VICtalian
Posts: 4341
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

Nope, it's good to separate the PET-like one from the VIC one, which is very "VIC" (colours and big chars) :D .
This version should also be better for children (this is for Ral-clan :wink: ).

PS- hey, it's always hailing on my little blue house!
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

I calculated this game would leave about ~600-700 bytes left if run on a +3K expanded VIC-20. It means it would have room for a 64 character custom generator, however not really space for the DATA statements. :-? On the other hand I'm not sure custom graphics would add very much.
One small improvement I'd consider though is filling the colour memory with white and also make all the spacing out white. It would make the lightning look better, although it does look like a typical VIC-20 game with traces of previously plotted graphics shining through.
Anders Carlsson

Image Image Image Image Image
User avatar
ral-clan
plays wooden flutes
Posts: 3702
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Post by ral-clan »

Carlsson, I noticed that you put this game in the 2009 announcement thread. I agree with that. However, don't you think you should give it a slightly distinguishing name? I did notice that the binary, at least is called "Ouranous-20" or something similar. This is just to avoid confusion with Orion70's port in GB20, Zimmers, and other places it gets uploaded.
Last edited by ral-clan on Fri Mar 06, 2009 6:55 am, edited 1 time in total.
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

The other way around, first release I just called weather.prg but this one unzips to weather-20.prg.

But yes, I can rename it to keep them apart.
Anders Carlsson

Image Image Image Image Image
Post Reply