It is currently Fri Oct 20, 2017 9:00 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Wed Sep 20, 2017 1:40 pm 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
Hi all, i am new on this forum :beer:

I am here because, i love programming on retro hardware like Gameboy, Atari, NES or SNES :)

I've made some little project on these hardwares.

For example :

https://github.com/MS-DOS1999/Uppertails2600 It's a little prototype Game for Atari2600

https://github.com/MS-DOS1999/PongNES Here, it's my pong version for the NES :)

https://github.com/MS-DOS1999/SNES-ROMTEST And in this repository I test some things on the SNES.

I really want to program a Game for the NES or SNES but i'm not really good in graphics, song or storyline.

So, if anyone wants a programmer for help, you can tell me ! I'll be very happy to join a project :)

Thanks !


Last edited by MS-DOS on Wed Sep 20, 2017 3:31 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: Wed Sep 20, 2017 2:08 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1777
Location: DIGDUG
Welcome to nesdev!

In case you aren't aware, there is a game design competition, ending in January. Feel free to submit an entry.

I have some concerns about your SNES code. It's not initializing correctly, and could be improved other ways. I don't want to pick on you on your first post, so, if you would like to discuss this further, let me know.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Wed Sep 20, 2017 3:45 pm 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
Thanks douggef !

Yes, i saw the nesdev competition topic ^^

For my SNES code, please tell me the right way to proceed :)

Ah and thanks for tutorial on your website, I used it to learn NES programming :D !


Top
 Profile  
 
PostPosted: Wed Sep 20, 2017 5:50 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1777
Location: DIGDUG
SNES initialization is complicated.

The first lines of code should be...
sei
clc
xce

Then, I would put the processor in A = 8 bit, and X/Y = 16 bit...(I think ?)

rep #$10
sep #$20

After that all stz will be 8-bit writes.

Some registers are “write twice” registers, first the low byte is written then the high.

A few registers need a non-zero value (I can't remember off the top of my head).

You should explicitly set the D (direct page), the stack pointer, and the data bank.

Most of your macros assume an 8-bit Accumulator, but since there are no REP or SEP on that page, you should probably use a directive like...(for WLA)
.ACCU 8
And, again, some of the registers are 2 writes.

Edit-
And you aren't zeroing the RAM, which may not cause bugs now, but potentially would in the future.

You may want to use variable names rather than numbers, which I believe can be done with .enum in WLA.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Thu Sep 21, 2017 6:24 am 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
Ok thanks ^^ I think i've found a good example https://en.wikibooks.org/wiki/Super_NES ... /Snes_Init


Top
 Profile  
 
PostPosted: Thu Sep 21, 2017 9:23 am 
Offline
User avatar

Joined: Sat Aug 15, 2015 3:42 pm
Posts: 104
Location: France
Hey Julien, welcome on NESDEV !

Hope you'll find someone to work with on a project.

Have fun :)


Top
 Profile  
 
PostPosted: Thu Sep 21, 2017 1:09 pm 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
Hey glutock, thanks !

As you see, I followed your recommendation :)


Top
 Profile  
 
PostPosted: Sat Sep 23, 2017 8:35 am 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
So it's good, I found someone to work with (in private message). Thanks Nesdev! :D


Top
 Profile  
 
PostPosted: Sat Sep 23, 2017 12:20 pm 
Offline
User avatar

Joined: Sat Aug 15, 2015 3:42 pm
Posts: 104
Location: France
Cool! Keep us posted!


Top
 Profile  
 
PostPosted: Sat Sep 23, 2017 12:31 pm 
Offline
User avatar

Joined: Wed Sep 20, 2017 1:14 pm
Posts: 14
Location: France
Yes, of course ! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: RogerBidon and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group