Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > C64 Productions > NEW GAME: GALAXYS
2002-09-15 15:12
Richard

Registered: Dec 2001
Posts: 621
NEW GAME: GALAXYS

I have produced a new retro-style C64 game called 'Galaxys'

You can download the game from this URL below:

http://www.redizajn.sk/tnd64/download_games.html

I await any reactions :)
 
... 30 posts hidden. Click here to view all posts....
 
2002-12-01 18:07
Rayne
Account closed

Registered: Jan 2002
Posts: 30
well, PRINT CHR$(8) is
LDA #$08
JSR $FFD2
in Assembly :)
2002-12-01 20:48
Richard

Registered: Dec 2001
Posts: 621
Ah, thanks dude :)
2002-12-01 21:20
CyberBrain
Administrator

Posts: 392
An even better solution is to turn off all the kernal-nonsense. (including the interrupt that checks SHIFT+C= ofcause)
2002-12-01 21:48
JCB
Account closed

Registered: Jun 2002
Posts: 241
Agreed.. Turn off all the roms, vector through $fffe-$ffff for your IRQ, do a keyboard matrix read yourself if you need to read keys and hey presto :) saves processor time too, no more leaving irq routines via $ea31 (or whatever it was soooo long ago I can't remember) just either push/pop a,x and y or store them in zero page or even store them in coresponding lda #?? ldx #?? ldy #?? instrucions at the end of the irq code.
2002-12-01 22:17
cadaver

Registered: Feb 2002
Posts: 1160
If there's no specific need to use 100% CPU power,
LDA #$80
STA $291
will also disable the C= + Shift combination conveniently.
2002-12-03 17:42
Richard

Registered: Dec 2001
Posts: 621
How about random counters. Say when I produce a game, I wanted to do random graphics appearing (Someone suggested I do an improvement to PoInG, by adding 1 player option, and also random graphics. - They loved the game as well. I was thinking of recycling this game, making it 10 times better and fun, compared to the original release.

Can you tell me what the assembly routine for random generations between 1 and 6 are?

X = INT(6*RND(1))+1

2002-12-03 23:36
Stryyker

Registered: Dec 2001
Posts: 468
If you can spare a 256 byte table, create a repeating table that goes 1,2,3,4,5,6. Then develop some random number routine using maybe the seed values, maybe using CIA timers or SID voice 3 output with some adding/shifting etc. Even if value is anything from 0 to 255, you use this as offset to the 256 byte table and it's scaled down.
2002-12-04 16:47
Richard

Registered: Dec 2001
Posts: 621
Quote: If you can spare a 256 byte table, create a repeating table that goes 1,2,3,4,5,6. Then develop some random number routine using maybe the seed values, maybe using CIA timers or SID voice 3 output with some adding/shifting etc. Even if value is anything from 0 to 255, you use this as offset to the 256 byte table and it's scaled down.

I remember writing a routine for Heavy Metal Deluxe, which had randomized the colours when the player shoots each block and the block appears at the top of the screen. I used .BYTE 1,2,3,4,5; according to colour and created a routine, which I usually use to put .BYTE 5 into .BYTE 1, like with the colour roll routines. Taking the last byte and replacing it with the first byte, and pulling the bytes along inside a loop.
2002-12-04 17:02
cadaver

Registered: Feb 2002
Posts: 1160
I practically always use values fecthed from the code by a zeropage or selfmodifying pointer, and ADC, EOR, ROL etc. them together. This could be used as an index
(you can use a shorter table, like 32 bytes, when you AND the index before use, AND #$1F in this case)
2002-12-04 17:57
T.M.R
Account closed

Registered: Dec 2001
Posts: 749
SEUCK does something similar for the 8 way firing routine, just reads a chunk of the editor code and uses it to pick one of eight directions - that's why the random routine sometimes needs repointing if you clean the editor out and don't re-use that RAM... =-)
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Holy Moses/Role
WVL/Xenon
Nordischsound/Hokuto..
Guests online: 136
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 The Demo Coder  (9.6)
5 Edge of Disgrace  (9.6)
6 Mojo  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.106 sec.