Search found 154 matches

by Narann
Thu Apr 27, 2017 3:37 am
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

Twist plot: This language is used by many low level dev and there is a documentation for it. :lol:
by Narann
Sun Apr 02, 2017 8:36 pm
Forum: Development
Topic: Few notes regarding OpenGL in cen64
Replies: 0
Views: 490

Few notes regarding OpenGL in cen64

Hello! I'm digging into cen64 code right now and was thinking about adding a renderer over it (don't expect anything, just a hobby project). I have few notes to share. Do what you want with it. In it's current state, cen64 currently need OpenGL for windows rendering purpose. So for now, the OpenGL c...
by Narann
Fri Oct 21, 2016 9:15 am
Forum: Development
Topic: Github login email
Replies: 0
Views: 4503

Github login email

Hello! I just noticed github is back in the game (why did you left it first?) and realize your github login is not on every commit. JFYI, you can link an email adress to your github account so all of your commits are linked to you: https://help.github.com/articles/why-are-my-commits-linked-to-the-wr...
by Narann
Mon Oct 17, 2016 8:56 am
Forum: Compatibility
Topic: Compatibility on new 2016 builds
Replies: 58
Views: 14541

Re: Compatibility on new 2016 builds

I think it's the whole projection matrix which is a problem, not a single element.
by Narann
Mon Jul 25, 2016 9:56 pm
Forum: Development
Topic: Anyone looking to contribute?
Replies: 9
Views: 2524

Re: Anyone looking to contribute?

angrylion uses C, I think. But for a codebase this small, it's easy to flip it to C++. angrylion is quite hard to read and maintain. I would have suggest to start from scratch and use it as a reference (even if it's harder). TBH, I don't have any graphics drivers that support Vulkan. :) If it's at ...
by Narann
Mon Jul 25, 2016 3:46 pm
Forum: Development
Topic: Anyone looking to contribute?
Replies: 9
Views: 2524

Re: Anyone looking to contribute?

Is Angrylion not supposed to be C code? And why not rely on the retro arch port using Vulkan? I'm just wondering.
by Narann
Mon Jul 25, 2016 9:07 am
Forum: RCP
Topic: How To Triangle
Replies: 4
Views: 3168

Re: How To Triangle

Thanks, those are also very useful and very well commented.
by Narann
Mon Jul 25, 2016 9:02 am
Forum: Development
Topic: Anyone looking to contribute?
Replies: 9
Views: 2524

Re: Anyone looking to contribute?

I get the code but not what you expect from us. :mrgreen:
by Narann
Tue Jul 12, 2016 6:31 am
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

That's truly impressive! o_O

I'm surprise SSMB lag so much, it was supposed to be a graphic-cheap game to actually be fast.
by Narann
Mon Jul 04, 2016 2:57 pm
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

MarathonMan wrote:N64s were made with Grade A Nintendium though...
N64 PCB will die before the case... :mrgreen:
by Narann
Sun Jul 03, 2016 10:37 pm
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

One of the big reasons for why we emulate things is preservation, https://cdn3.bigcommerce.com/s-i55jl/products/4879/images/10425/meme_victory_guy_freddie_mercury__15276.1403094524.1280.1280.jpg I totally agree with that, experience prove that emulators are here to stay. and it kinda sucks that som...
by Narann
Sun Jul 03, 2016 3:28 pm
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

This promise is mind blowing!!! :o What looks even more impressive is that it could bring very good performances for older console cycle emulation (I'm thinking about embedded system where cycle emulation could become reality). This is a huge project you've got there, One that could change the face ...
by Narann
Sun Jun 26, 2016 9:42 pm
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

Thanks for keeping us posted. This look quite ugly as you say but it seems to be very prompt to efficiency. I think this has never been tried on the n64 scene. The interpreter will profile for hot sections of code and flag them for compilation. I wonder about the cost of this during gameplay. I wond...
by Narann
Fri Feb 26, 2016 6:36 pm
Forum: Compatibility
Topic: Compatibility on new 2016 builds
Replies: 58
Views: 14541

Re: Compatibility on new 2016 builds

EDIT: For reference, said "Hi-res" mode is only available with the Expansion Pak, but I don't understand how using twice the amount of RAM would actually cause Cen64 to run at much of a different speed at all let alone noticably slower... I don't know what SWE1 Racer does but if CPU (or RSP) do som...
by Narann
Mon Feb 22, 2016 7:50 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

The only thing is that MarathonMan has previously stated that Cen64 is so latency-sensitive that SMT is actually faster than two separate CPU cores In which situation? Not sure I get the point. What MarathonMan was trying to do with CPU cores? r4300i on one core + RSP on another? Or use multiple co...
by Narann
Mon Feb 22, 2016 2:57 am
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

Nintendo Maniac 64 wrote:...so basically HSA on a modern AMD APU?
It could be a good candidate yes!
by Narann
Thu Feb 18, 2016 6:42 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

well, maybe not the whole system, but the RDP could be 100% implemented in GPU in a 100% pixel exact way). If it's even possible, it will be quite hard. For example, depth value take multiple fixed point format during RDP pipeline. Simulate this can be tricky even on CPU. Why would you bother to ha...
by Narann
Thu Feb 18, 2016 3:22 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

What about LLE? Isn't z64gl supposed to be low level hardware rendering, and thus it can emulate the graphics without the problems that HLE encounters like you have said before? Or am I wrong? If someone makes a Vulkan-based LLE RDP, could this be more accurate than anything other except for the so...
by Narann
Wed Feb 17, 2016 4:54 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

Well, it's true that Angrylion RDP is software rendering, and CEN64's VI is the only place here that use OpenGL(and it's quite simple and minimal), along with the backends in the os directory. Still, I wonder how well a Vulkan-based RDP (different from the Angrylion's one) would do against the soft...
by Narann
Tue Feb 16, 2016 6:37 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

I know what Vulkan is, it does not change the point that using it in Cen64 is pointless.
by Narann
Tue Feb 16, 2016 3:51 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

Unfortunately, this would not really help Cen64 (nor angrylion plugin) as it only rely on OpenGL for window rendering. Vulkan would not improve performance.
by Narann
Mon Feb 08, 2016 6:24 pm
Forum: Open Discussion
Topic: angrylion RDP plugin almost threaded
Replies: 53
Views: 13394

Re: angrylion RDP plugin almost threaded

Good job!

I was wondering: With threading in place, any hope to have numbers about which thread group take in computing time?

I'm interested by the RDP runtime cost.

Thanks in advance! :)
by Narann
Tue Feb 02, 2016 6:56 pm
Forum: Open Discussion
Topic: Ding dong! The witch is dead!
Replies: 5
Views: 3547

Re: Ding dong! The witch is dead!

Why this demo is so important? What does it hide? :oops:
by Narann
Fri Jan 15, 2016 5:15 pm
Forum: Open Discussion
Topic: Thinking about multi-threading...
Replies: 41
Views: 40871

Re: Thinking about multi-threading...

I thought about deadlocks we were talking about yesterday. I realize it's maybe because angrylion plugin doesn't emulate interrupts properly. I will try to explain more clearly here from my humble knowledges: Disclaimer: I'm not a threading expert. On real hardware, CPU and RCP run independently and...
by Narann
Fri Jan 15, 2016 1:01 am
Forum: RCP
Topic: Arduino for RCP signal parsing?
Replies: 6
Views: 12180

Re: Arduino for RCP signal parsing?

You can do the with the 64drive. You basically use some of the 64drive's SDRAM as a buffer. - Issue an RDP command - Copy framebuffer to 64drive SDRAM - Signal to PC that framebuffer is copied - PC copies framebuffer from 64drive SDRAM - PC signals that framebuffer is copied - Repeat as needed Wow!...
by Narann
Thu Jan 14, 2016 12:11 pm
Forum: RCP
Topic: Arduino for RCP signal parsing?
Replies: 6
Views: 12180

Re: Arduino for RCP signal parsing?

Thanks for pointing me the Cyclone V GX Starter Kit, it look great! If I could dump framebuffer after some RDP command that would be really helpful. Long way to go before this. Sorry, I'm far from knowledgeable about the RDP in particular, so I can't be of much help there... No worry, all what you s...
by Narann
Wed Jan 13, 2016 1:11 pm
Forum: RCP
Topic: Arduino for RCP signal parsing?
Replies: 6
Views: 12180

Re: Arduino for RCP signal parsing?

Thanks for your invaluable feedbacks MarathonMan! :) So Arduino is not the way to go and even if it was, exposed pins would not help me to get what I want. I think you'd need at least an FPGA if you wanted to cook up a logic analyzer. I have zero experience with FPGA (yet). I will have to dig into t...
by Narann
Wed Jan 06, 2016 5:01 pm
Forum: RCP
Topic: Arduino for RCP signal parsing?
Replies: 6
Views: 12180

Arduino for RCP signal parsing?

Hi! I plan to use arduino with some soldering works to intercept voltage signal send to the RCP... I want to know how RCP communicate with the rest of the N64 (mainly the CPU). Specially, I want to know which MI registers are modified by RCP before/during/after the RDP process the display list. I kn...
by Narann
Mon Nov 09, 2015 11:17 am
Forum: Open Discussion
Topic: Kernel Recipe 2015
Replies: 0
Views: 11983

Kernel Recipe 2015

I know you are on linux kernel stuff so here are some new stuff. :mrgreen:
by Narann
Thu Oct 29, 2015 12:09 am
Forum: RCP
Topic: RDP Command: Set Texture Image big frame buffer address?
Replies: 1
Views: 1588

RDP Command: Set Texture Image big frame buffer address?

When I parse this Display Command: 1111110100010000000000000111111100000000011111111000110100011000 11|111101|000|10|000000000|0001111111|000000|00011111111000110100011000 opcode fmt sz width-1 DRAM addr I get roughly this: Parser|Set Texture Image|Format: RGBA, Pixel Size: 16 bits, Width: 128, Text...
by Narann
Tue Oct 27, 2015 10:04 am
Forum: Development
Topic: Linux: The ultimate VR4300 stress test.
Replies: 6
Views: 5596

Re: Linux: The ultimate VR4300 stress test.

Right now, it only boots in an emulator, but yes... that's actual output from a simulated serial port. The only thing stopped me from getting it to work on real hardware/a cart is a missing ELF loader (kind of like GRUB for N64...). That shouldn't be too hard to write, though... just parsing the he...
by Narann
Mon Oct 26, 2015 10:33 am
Forum: Development
Topic: Linux: The ultimate VR4300 stress test.
Replies: 6
Views: 5596

Re: Linux: The ultimate VR4300 stress test.

Hopefully, we will have N64 running Linux soon, at which point... we'll really be able to stress-test emulator CPU cores. :lol: :geek: Took me few second to be sure I was reading correctly! Awesome! 8-D Would it be possible to use Everdrive-like cardrige to run this Linux (Cen64Linux)? I would be v...
by Narann
Fri Oct 23, 2015 5:36 pm
Forum: RCP
Topic: RDP commands are 32bits packed
Replies: 5
Views: 1798

Re: RDP commands are 32bits packed

If you look closely, you will see that the N64 really has a 18-bit 5/5/5/3 RGBA Yeah! I notice this "5/5/5/ 3 16 bits" mode. That was disturbing. So here is the reason! Thanks a lot! I think what EBUS test mode does is make the MI/VR4300 use the 8-bit data bus instead of the 64-bit data bus... Havi...
by Narann
Fri Oct 23, 2015 12:49 am
Forum: RCP
Topic: Are RDP Color Combiner registers readable?
Replies: 5
Views: 1688

Re: Are RDP Color Combiner registers readable?

MarathonMan wrote:They are often high level abstractions of either transform operations (which get executed on the RSP) or RDP instructions.
I'm not a LLE or Cycle Accurate expert but from what I can see from the RDP commands, GBI look very close from the metal.
by Narann
Thu Oct 22, 2015 10:42 pm
Forum: RCP
Topic: RDP commands are 32bits packed
Replies: 5
Views: 1798

Re: RDP commands are 32bits packed

Fun fact: RDRAM is 9bit (8+1) @ 500MHz (62.5MHz RCP clock x 8), which is how it delivers up to* (8x8 + 8x1 = 64 + 8 bits of data per RCP clock). Wow! Have you any idea how current emulators emulate this? I mean, when I navigate through the N64 RDRAM (of an emulated N64 of course), I don't deal with...
by Narann
Thu Oct 22, 2015 10:39 pm
Forum: RCP
Topic: Alpha compare occur after 1st cycle
Replies: 0
Views: 8470

Alpha compare occur after 1st cycle

Angrylion confirm , with hardware test, a bad assumption we often have about alpha compare: After writing a few tests I am almost certain that alpha compare should occur after the 1st cycle of two-cycle combiner rather than after the 2nd cycle, as pretty much everyone assumed so far. As a RDP hobbyi...
by Narann
Thu Oct 22, 2015 12:21 pm
Forum: RCP
Topic: RDP commands are 32bits packed
Replies: 5
Views: 1798

RDP commands are 32bits packed

Interesting fact: Even if it's stated everywhere RDP commands are 64 bits long, in practice its always organized by dword (32bits), meaning you will never have values stored between the 32th and 33tn bits. This mean you can parse commands using a simple uint32_t pointer. I don't know if this choice ...
by Narann
Thu Oct 22, 2015 10:02 am
Forum: RCP
Topic: Are RDP Color Combiner registers readable?
Replies: 5
Views: 1688

Re: Are RDP Color Combiner registers readable?

Thanks! This is important because it mean, except the RDP it-self, nothing else access to thoses values, meaning I can organize them in an arbitrary way. angrylion plugin seems to doesn't care about RDP input alignment too. Make the RDP color registers in read only make sense from an API design stan...
by Narann
Wed Oct 21, 2015 9:21 pm
Forum: RCP
Topic: Are RDP Color Combiner registers readable?
Replies: 5
Views: 1688

Are RDP Color Combiner registers readable?

An easy one:

Does the GBI provide a way to read RDP Color Combiner registers? Or does the RDP Color Combiner registers were write only? :roll:

Thanks in advance!
by Narann
Wed Oct 21, 2015 10:29 am
Forum: RCP
Topic: What does the 2 first bits in a RDP command represent?
Replies: 1
Views: 1257

Re: What does the 2 first bits in a RDP command represent?

I quickly tested my assumptions on few commands and fall on this: Set Other Mode : 00 - DMA, CPU Set Blend Color : 11 - Immediate, RDP Pipe Sync : 11 - Immediate, RDP Load Sync : 11 - Immediate, RDP Tile Sync : 11 - Immediate, RDP Set Fog Color : 11 - Immediate, RDP Set Scissor : 11 - Immediate, RDP...
by Narann
Wed Oct 21, 2015 10:27 am
Forum: RCP
Topic: What does the 2 first bits in a RDP command represent?
Replies: 1
Views: 1257

What does the 2 first bits in a RDP command represent?

Edit: As I was writting this post, I finally find the answer by myself, so I share anyway. A RDP command always starts by this: [Command format: 2bits|Op code: 6bits|Arguments...] The first bit seems to state if the command is "self contain" or need a memory access. The second bit seems to state if ...
by Narann
Wed Oct 21, 2015 10:24 am
Forum: Open Discussion
Topic: More than 10 posts per page?
Replies: 2
Views: 3120

Re: More than 10 posts per page?

Yeah! We lack of nerdish technical conversation! :D
by Narann
Mon Oct 19, 2015 1:30 pm
Forum: Compatibility
Topic: Support .n64
Replies: 26
Views: 29087

Re: Support .n64

MarathonMan wrote:N64's history is filled to the brim with hacks layered on top of hacks and I won't contribute to or tolerance such nonsense.
Writing a video plugin for fun, I couldn't agree more.

The more I'm in N64 emu scene, the more I want to rewrite everything...
by Narann
Mon Oct 19, 2015 1:24 pm
Forum: Open Discussion
Topic: More than 10 posts per page?
Replies: 2
Views: 3120

More than 10 posts per page?

I realize there is only 10 posts per pages on this forum and I can't modify this value in my preference.

Any hope to increase this value to, lets say, 50? :D

Thanks in advance!
by Narann
Sat Oct 10, 2015 11:41 am
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

maybe it would be easier to implement full recompilation of the whole ROM before running a game, doing this recompilation in a way that the code returns to the idle loop each time a cycle ends I wonder how much time it would take to the compiler to recompile the whole ROM. But I like the idea. It w...
by Narann
Thu Sep 17, 2015 1:33 pm
Forum: Other
Topic: New N64 Assembler by ARM9 & krom
Replies: 3
Views: 4523

Re: New N64 Assembler by ARM9 & krom

Thanks krom! I love your code comments! They really help to understand! :)
by Narann
Thu Sep 17, 2015 1:30 pm
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

MarathonMan wrote:where instead of a tuple being used to express the kind of cycle within a component, the tuple is used to express the state of the current component (RSP, VR4300, etc.).
This sentence is meaningful! :)

Thanks!
by Narann
Thu Sep 17, 2015 10:12 am
Forum: Other
Topic: New N64 Assembler by ARM9 & krom
Replies: 3
Views: 4523

Re: New N64 Assembler by ARM9 & krom

Hi krom! Nice to see you back! What bass is exactly? A converter of assembly code to bin? For example, if I (you actually) write N64 assembly code, I can compile it, put it on my N64 and running it am I right? So, if I write a C API which generate N64 assembly text code, I can use this to convert it...
by Narann
Thu Sep 17, 2015 10:03 am
Forum: Development
Topic: Notes on development of the next CEN64 core.
Replies: 34
Views: 13860

Re: Notes on development of the next CEN64 core.

My humble feedbacks on this: * Run multiple interpreters in parallel (one for each pipeline, processor, etc.) and design them such that each one can "commit" and "rollback" a simulated cycle - effectively, a transactional memory-like approach. Mmmmh very interesting. Tell me if I'm wrong but transac...