Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - NES Demo-ish things. (source included) | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Gavin

Fuzzy
Rhinoceruses don't play games. They fucking charge your ass.
Level: 43

Posts: 43/799
EXP: 551711
For next: 13335

Since: 03-15-04
From: IL, USA

Since last post: 13 hours
Last activity: 13 hours
Posted on 04-29-04 05:26 PM Link | Quote
been messing around the last few days with some NES Dev stuffs. nothing too special at all, but i figured i'd post about it here real quick. i'm going to be cheap and quote from my site..quoting myself? wierd:


The first Code:
"...nothing too amazingly magical, but it was great to try as a first start into NES programming. I learned the general basics of how to draw text to the screen after messing around with a Hello.asm file, tweaking here, nudging here. Then i decided to make my own.

Simple premise really: You press a button on the controller, text will appear on the screen telling you which button was just activated. And with a little bit of extra style i threw in a little Fade-in/Fade-out routine to make the text go in and out... w00t"

GavinDemo.nes
GavinDemo.asm


The Second Code:
"The product of a discussion in #assembly (irc.forgetit.net) when Disch was explaining the very basics of NES sound, and the Square Wave (Channel 1) particular. Another very basic program, my second.

Pressing the A and B buttons will change the frequency of the wave. One wave is close to Middle C, i believe, and the other is just entirely random numbers i entered. Your ears will be able to tell you which is which :p"

TwoSounds.nes
TwoSounds.asm

and i've since learned that first value was _not_ middle C, my mistake :p

but to remedy my folly... i present you with a special sneak peak gift!:


this might make testing the various effects of the square wave a little bit faster, at least that's why i made it .


well, it was tons of fun to make. and hell...maybe someone will even be helped by this ;P


more info about anything here can be found at my site: Gavin.Panicus.org


(edited by Gavin on 04-29-04 08:27 AM)
Kefka
Indefinitely Unbanned
Level: 81

Posts: 1117/3392
EXP: 4826208
For next: 166641

Since: 03-15-04
From: Pomona, CALIFORNIA BABY!

Since last post: 4 hours
Last activity: 4 hours
Posted on 04-29-04 06:23 PM Link | Quote
w00t! maybe Gavin will make his own homebrew in the near future!

Looks tight bro! And that last program there (testing the effects) looks like it could be very useful in many situations!
Rockman

Flurry
Level: 26

Posts: 12/250
EXP: 96387
For next: 5888

Since: 03-17-04

Since last post: 18 days
Last activity: 16 days
Posted on 04-30-04 08:21 AM Link | Quote
I tried your demo yesterday, the one that displays the key strokes when you press them. It was pretty good considering it was your first demo and a learning experience. What's up with all that character data though? Sheesh, I have a feeling I'm never going to learn this stuff. Too complex. I could probably tackle C++, but this assembly shit is ridiculous. Maybe one day, who knows. Anyway, I wanted to congratulate you on AIM, but I haven't seen you on. So, congratulations man!
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -4534/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 04-30-04 01:35 PM Link | Quote
Now try making it so if you hold the button down, it won't constantly fade.
Gavin

Fuzzy
Rhinoceruses don't play games. They fucking charge your ass.
Level: 43

Posts: 45/799
EXP: 551711
For next: 13335

Since: 03-15-04
From: IL, USA

Since last post: 13 hours
Last activity: 13 hours
Posted on 05-02-04 02:15 AM Link | Quote
Originally posted by Rockman
I tried your demo yesterday, the one that displays the key strokes when you press them. It was pretty good considering it was your first demo and a learning experience. What's up with all that character data though? Sheesh, I have a feeling I'm never going to learn this stuff. Too complex. I could probably tackle C++, but this assembly shit is ridiculous. Maybe one day, who knows. Anyway, I wanted to congratulate you on AIM, but I haven't seen you on. So, congratulations man!


ah, thanks thanks. and the character data? that's what the NES graphics look like in Hex. i (for whatever unknown reason) at the time wanted to include the Chr data in the same file as the sourcode, instead of including it as a separate file. it's actually a really bad way of doing it, i'll have to stop

Originally posted by 404
Now try making it so if you hold the button down, it won't constantly fade.


yep yep, that was a problem i had before. i've since fixed it, perhaps i'll upload the newer version soon. but i'm currently working on another and better demo.

the new demo will have sound, graphics, joystick input, and basically all matter of fun stuff. it'll take me a lot longer than the two i made before (not going to be another '1-2 day wonder'). actually have to put real brain muscle into it
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - NES Demo-ish things. (source included) | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.017 seconds.