New Release - WinGames

C64 website updates, new releases of games, demos, tools etc.

Moderator: Lemoners

Post Reply
User avatar
WebFritzi
Bionic Granny
Posts: 24
Joined: Mon Apr 06, 2020 2:04 pm
Location: Germany
Age: 47

New Release - WinGames

Post by WebFritzi »

Doesn't require any explanation, I guess. Can be downloaded at https://github.com/WebFritzi/Assembler/ ... nGames.d64
Attachments
WinGames.png
WinGames.png (54.14 KiB) Viewed 1072 times
PleaseWait.png
PleaseWait.png (33.84 KiB) Viewed 1072 times
Solitaire.png
Solitaire.png (93.52 KiB) Viewed 1072 times
Freecell.png
Freecell.png (101.85 KiB) Viewed 1072 times
Minesweeper.png
Minesweeper.png (38.94 KiB) Viewed 1072 times
qus
Trollie Wallie
Trollie Wallie
Posts: 349
Joined: Thu Feb 14, 2019 4:55 pm

Re: New Release - WinGames

Post by qus »

I downloaded it because I just couldn't believe what I was seeing here. Amazing. Now - can you make C64 OS UI like this?
C64 Reloaded Mk2, Ultimate 64 Elite + WIFI + SD2IEC and a MEATLOAF.

Future cc65 replacement is here: https://github.com/ssuukk/wolin
dmantione
Rick Dangerous
Rick Dangerous
Posts: 1606
Joined: Mon Feb 12, 2018 8:40 pm
Location: Purmerend, Netherlands
Age: 47

Re: New Release - WinGames

Post by dmantione »

I wonder how the icons are created. Sprite multiplexer and stacking?
User avatar
encore
Rick Dangerous
Rick Dangerous
Posts: 1734
Joined: Wed Jun 02, 2010 9:41 pm
Location: .se
Age: 42
Contact:

Re: New Release - WinGames

Post by encore »

Looks nice, I'll have to try it out. :) Does it have mouse support?
User avatar
WebFritzi
Bionic Granny
Posts: 24
Joined: Mon Apr 06, 2020 2:04 pm
Location: Germany
Age: 47

Re: New Release - WinGames

Post by WebFritzi »

dmantione wrote: ↑Fri Jun 30, 2023 8:29 am I wonder how the icons are created. Sprite multiplexer and stacking?
It looks like this:

Code: Select all

RasterIRQ       lda $d019
                sta $d019
                
                lda $d012
                cmp #228
                bcc +++
                cmp #236
                bcc L_228
;L_236          lda #CL_YELLOW
                sta MULTICOLOR1
                lda #0
                sta $d012
                lda $d011
                and #%01111111
                sta $d011
                jmp $ea81
L_228           lda #CL_BLACK
                sta MULTICOLOR1
                lda #236
                sta $d012
                lda StartBtnPushed
                beq +
                jsr DrawSpritesDown
                jmp $ea81
+               jsr DrawSpritesUp
                jmp $ea81

+++             cmp #106
                bcc L_0
                cmp #115
                bcc L_106
                cmp #151
                bcc L_115
                cmp #175
                bcc L_152
                cmp #200
                bcc L_175
                cmp #220
                bcc L_200
                
;L_220          ; Only triggers in Dialog Mode
                jsr MultiColorOn
                lda #228
                sta $d012
                jmp $ea81
L_200           jsr Draw_W
                jsr Draw_TV
                lda #228
                sta $d012
                jmp $ea81
L_175           jsr Draw_ind
                jsr DrawMine
                lda #200
                sta $d012
                jmp $ea81
L_152           jsr Draw_do
                jsr DrawKing
                lda #175
                sta $d012
                jmp $ea81
L_115           jsr Draw_s
                jsr Draw_ws
                jsr DrawSolitaire
                lda #152
                sta $d012
                jmp $ea81
L_106     ; Only triggers in Dialog Mode
                lda #CL_LIGHTGRAY
                sta BKGCOLOR
                lda #220
                sta $d012
                jmp $ea81
L_0             lda #CL_DARKBLUE
                sta MULTICOLOR1
                lda StartBtnPushed
                bne ++
                lda GameMode
                cmp #GM_DIALOG
                bne +
                ; No menu, but a dialog
                jsr MultiColorOff
                lda #CL_DARKBLUE
                sta BKGCOLOR
                jsr DlgSpriteHandler
                lda #106
                sta $d012
                jmp MouseJoy
+               ; no menu, no dialog
                lda #228
                sta $d012
                jmp MouseJoy
++              ; StartMenu open
                jsr MultiColorOn
                lda #31
                sta xPos2
                sta xPos3
                lda #CL_LIGHTGRAY
                sta col2
                sta col3
                lda #0
                sta VIC+29
                jsr Highlight
                lda #115
                sta $d012
                ; Mouse and Joystick
MouseJoy        lda MouseOn
                bne mouse
                jsr Joystick
                jmp std_irq
mouse           jsr Mouse
                jmp std_irq
"DrawSpritesDown" and "DrawSpritesUp" only draw the sprites for the start button. All the other "Draw_" routines draw the icons and the "Windows" writing on the left. During the start menu is painted, there are always exactly 8 sprites on one raster line.
User avatar
WebFritzi
Bionic Granny
Posts: 24
Joined: Mon Apr 06, 2020 2:04 pm
Location: Germany
Age: 47

Re: New Release - WinGames

Post by WebFritzi »

qus wrote: ↑Fri Jun 30, 2023 6:47 am I downloaded it because I just couldn't believe what I was seeing here. Amazing. Now - can you make C64 OS UI like this?
Thank you. I don't think you can, though. There wouldn't be enough time for the CPU to do OS-specific stuff.
User avatar
WebFritzi
Bionic Granny
Posts: 24
Joined: Mon Apr 06, 2020 2:04 pm
Location: Germany
Age: 47

Re: New Release - WinGames

Post by WebFritzi »

encore wrote: ↑Fri Jun 30, 2023 11:32 am Looks nice, I'll have to try it out. :) Does it have mouse support?
Thank you. Yes, it does have 1351 mouse support. Alternatively, you can choose to use a joystick.
User avatar
hurminator
Jumpman
Jumpman
Posts: 3296
Joined: Tue Feb 03, 2004 12:50 am
Location: Columbus, Ohio
Age: 52

Re: New Release - WinGames

Post by hurminator »

Looks nice! With joystick, how do you control selection?
User avatar
WebFritzi
Bionic Granny
Posts: 24
Joined: Mon Apr 06, 2020 2:04 pm
Location: Germany
Age: 47

Re: New Release - WinGames

Post by WebFritzi »

hurminator wrote: ↑Sat Jul 01, 2023 4:00 pm Looks nice! With joystick, how do you control selection?
In the card games, to select cards you push the joystick button. In Minesweep, you push the joystick button twice to open a cell and once to set a flag.
User avatar
Nick
William Wobbler
William Wobbler
Posts: 84
Joined: Tue Aug 01, 2006 7:15 pm
Location: Brussels, Belgium
Age: 47

Re: New Release - WinGames

Post by Nick »

Very cute ! Thanks ! :)
Breadbin C64, SD2IEC, CRT Sanyo TV. 2 competiton pro joysticks.
User avatar
oldschooljoe
Zorro
Zorro
Posts: 1339
Joined: Sat Jan 23, 2021 4:12 am
Location: Los Angeles
Age: 54

Re: New Release - WinGames

Post by oldschooljoe »

Awesome! What a surprise!
Are you keeping up with the Commodore?
'cause the Commodore is Keeping Up with You!
User avatar
hammerhead
Lemon64 Database Editor
Lemon64 Database Editor
Posts: 3276
Joined: Sun Jan 06, 2002 4:02 pm
Location: Stockport, UK
Age: 52

Re: New Release - WinGames

Post by hammerhead »

Love it! Would never have thought I'd get nostalgic over Windows games...

Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest