Search found 246 matches
- Wed Dec 09, 2020 5:16 pm
- Forum: 2020 NESdev Competition
- Topic: The Epic Game of Impossibility
- Replies: 6
- Views: 5312
- Wed Dec 09, 2020 4:52 pm
- Forum: NESdev
- Topic: Vs System Shared Memory
- Replies: 48
- Views: 15515
Re: Vs System Shared Memory
Edit: I didn't see lidnariq had already replied. Sorry for the redundant info. Writing a value of "0000 0010" to $4016 gives access to the shared RAM. I have run this code on a physical cab now, and it works. Without writing that value, the calls to set values in SRAM fails. // Take contr...
- Wed Dec 09, 2020 4:27 pm
- Forum: Homebrew Projects
- Topic: Nes Homebrew database project
- Replies: 6
- Views: 11615
Re: Nes Homebrew database project
This is such a cool idea. Did it die? Only see a few games in the DB.
- Tue Dec 08, 2020 5:57 pm
- Forum: NESdev
- Topic: Vs System Shared Memory
- Replies: 48
- Views: 15515
Re: Vs System Shared Memory
Please help me rephrase this to be clearer, I really don't know how I can make this clearer: I'm still very new to all this, so there are a lot of gaps in my knowledge that I don't think could be filled easily in this one article. :D I'm not sure if it's implied elsewhere, but this one line is very...
- Tue Dec 08, 2020 10:21 am
- Forum: NESdev
- Topic: Vs System Shared Memory
- Replies: 48
- Views: 15515
Re: Vs System Shared Memory
Some follow up questions: NOTE: CPU1 = Primary, CPU2 = Secondary a) How does the program know if it is the primary or secondary CPU? I checked the Vs Tennis manual (which is 4 player) and I don't see any mention of dipswitches telling the software which CPU it is on, or that a particular EPROM set n...
- Tue Dec 08, 2020 12:51 am
- Forum: NESdev
- Topic: Vs System Shared Memory
- Replies: 48
- Views: 15515
Re: Vs System Shared Memory
I saw the charactize ROM by lidnariq, and took a look at it, but I don't think it is doing anything with $4016 to gain access to shared RAM, but I might be wrong! To start, at a high level, what is the sequence of events need to READ the shared ram, and WRITE to the shared RAM? Sorry, its so vague, ...
- Tue Dec 08, 2020 12:39 am
- Forum: NESdev
- Topic: Vs System Shared Memory
- Replies: 48
- Views: 15515
Vs System Shared Memory
I have my ROM now accessing the Shared Memory of the Vs System at $6000, and it gets saved and loaded as expected (in emulator anyway). Which is awesome! However, I think I am going to run into trouble once this is run on a Dual System (switching my ROM to Dual System just crashes Mesen). Controller...
- Mon Dec 07, 2020 4:32 pm
- Forum: Homebrew Projects
- Topic: FROM BELOW [NES Homebrew] COMPLETE!
- Replies: 90
- Views: 69857
Re: FROM BELOW [NES Homebrew] COMPLETE!
I've posted a pretty lengthy blog about my journey from complete noob, to releasing From Below Complete in Box. Covers everything from my background, what I used to learn NESDev, and my marketing for the game. Next I am planning to do a cost breakdown of what I paid to make the physical copies. http...
- Tue Dec 01, 2020 7:09 pm
- Forum: NESdev
- Topic: Exposing Variable from CA65 to CC65
- Replies: 13
- Views: 4831
Re: Exposing Variable from CA65 to CC65
Great explanation thanks!
Funny enough, it's used like that throughout shiru's neslib, which is where I picked it up from.
Funny enough, it's used like that throughout shiru's neslib, which is where I picked it up from.
- Tue Dec 01, 2020 7:04 pm
- Forum: NESdev
- Topic: Exposing Variable from CA65 to CC65
- Replies: 13
- Views: 4831
Re: Exposing Variable from CA65 to CC65
Oh I see the issue now that I wrote it in the post above. I had:
inc <CREDITS_QUEUED
But it should have been changed to
inc CREDITS_QUEUED
I think because I moved it out of ZP? (trying to match your example)
inc <CREDITS_QUEUED
But it should have been changed to
inc CREDITS_QUEUED
I think because I moved it out of ZP? (trying to match your example)
- Tue Dec 01, 2020 6:54 pm
- Forum: NESdev
- Topic: Exposing Variable from CA65 to CC65
- Replies: 13
- Views: 4831
Re: Exposing Variable from CA65 to CC65
I must be missing something (I am trying the "exporting from ASM" version that rainmaker demonstrated). It compiles, but when I look at the resulting assembly, they are pointing to 2 different spots in memory. ; assembly .segment "BSS" ; (it can be any segment) CREDITS_QUEUED: .r...
- Tue Dec 01, 2020 6:28 pm
- Forum: NESdev
- Topic: Exposing Variable from CA65 to CC65
- Replies: 13
- Views: 4831
Exposing Variable from CA65 to CC65
I have a variable that I want to be able to access in both my C code, and my Assembly code. Can someone provide an example of how to do this? Everything i have tried either ends up with unresolved external symbols, redefinition of the variable, or 2 separate variables which give different values dep...
- Mon Nov 30, 2020 5:54 pm
- Forum: NESdev
- Topic: Vs System Coin Counter Questions
- Replies: 3
- Views: 3591
Re: Vs System Coin Counter Questions
Nevermind... heard back from the person and they were putting coins in the other side of the Dualsystem machine. They were just showing me what it should look like. 
- Mon Nov 30, 2020 4:28 pm
- Forum: NESdev
- Topic: Vs System Coin Counter Questions
- Replies: 3
- Views: 3591
Vs System Coin Counter Questions
I am working on a Vs. System port of my game From Below. I have not yet written any code to write to $4020 yet. This is supposed to be how you increment the "coin counter". http://wiki.nesdev.com/w/index.php/Vs._System#Coin_counter_.28.244020-.24403F.2C_.26c.29 However, when a user runs my...
- Mon Nov 30, 2020 4:19 pm
- Forum: NESdev
- Topic: Vs Dualsystem Watchdog Timer
- Replies: 21
- Views: 7714
Re: Vs Dualsystem Watchdog Timer
Ohhhh you are talking about the "Coin counter ($4020-$403F, &c)" being slower than the speed at which people can drop coins (I thought "coin countered" meant the bits in $4016). I see what you mean now. I haven't hooked up the coin counter at all yet. Unfortunately, I can't ...