737

(15 replies, posted in Trading Post)

I imagine Courage the cowardly dog saying:
"The things we do for White DMGs"

738

(15 replies, posted in Trading Post)

DeerPresident is never heard from again. It is assumed that after his long journey to the Seoul, he is abducted and his body is conditioned for people trafficking.

739

(43 replies, posted in Nintendo Consoles)

How are you doing on stock?

740

(19 replies, posted in Nintendo Consoles)

Here is where I started learning:
http://cratel.wichita.edu/cratel/ECE238Spr08

Aside from feedback and CC, that link will give you everything you need to make a game. It will take you all year to learn though, so be patient.

Thanks so much. I'll have a look asap...

edit:

#Iterate over each pixel.
    for y in range(144):
        for x in range(160):

Did you mean to replace 144 and 160 with the height and width variables to keep thing consistent?

Rvan! Can you comment your pygame code for me? I need to modify it to accomadate whatever data I send, but I don't know all of what is going on. Comment it for the laymen, k? wink

Something I mentioned before:
http://www.batsocks.co.uk/products/Othe … t.htm#nogo
Sadly I just read the details: "38x25 characters"

hmm...

Some timing documentation of the 16MHz arduino:
http://jeelabs.org/2010/01/06/pin-io-performance/

good read. Take special not of:

With these results we get: one digitalRead() takes 4134 ns, one direct port read takes 83 ns (again correcting for 819 ns loop overhead). The conclusion being that digitalRead() is 50x as slow as direct port reads.

Which one is correct? I don’t know for sure. I retried the direct port read with 16 entries per loop, and got 67 ns, which seems to indicate that a direct port read takes one processor cycle (62.5 ns), as I would indeed expect.

Conclusion: if performance is the goal, then we may need to ditch the Arduino approach.

Update – Based on JimS’s timing code (see comments): digitalRead() = 58 cycles and direct pin read = 1 cycle.

Update #2 – The “1 cycle” mentioned above is indeed what I measured, but incorrect. The bit extraction was probably optimized away. So it looks like direct pin access can’t be more than 29x faster than digitalRead(). As pointed out by WestfW in the comments, digitalRead() and digitalWrite() have predictable performance across all use cases, including when the pin number is variable. In some cases that may matter more than raw speed.

Update #3 – Another caveat – Lies, damn lies, and statistics! – is that the register allocations for the above loops make it extremely difficult to draw exact conclusions. Let me just conclude with: there are order-of-magnitude performance implications, depending on how you do things. As long as you keep that in mind, you’ll be fine.

745

(24 replies, posted in Nintendo Handhelds)

SuperBustySamuraiMonkey wrote:

Im trying my luck with an european modder, thanks for the links anyways guys smile

Yeah, that makes sense. tongue

746

(5 replies, posted in Circuit Bending)

The NEC D930G is an 80 pins SMD.
Is this it?

If so, it is a Quad Flat Package in which case the count starts at the bottom left and moves around the IC in a counter-clockwise direction from 1 to 80.
See the numbering here:
http://integral.by/img/texts/QFP-80_en.gif

Here is some good information, schamtic and software for talking over a parallel port.
http://www.maximintegrated.com/en/app-n … vp/id/3230
Scrolling down I see a parallel-to-I2C diagram. I2C has an SCL and an SDA pin. Clock and data.
If the PC clocks our shift register, you would need a clock rate at least 8 times that of the GB's clock rate to make sure all 8-bits are shifted before the next GB clock cycle.

'your' software would have to take into account multiple data bytes with an unchanged GB-clock.

umm... Still seems complicated. I want to see composite video, and not just a picture on my PC. tongue

Still considering the parallel port, lets look at something:
http://www.reocities.com/SiliconValley/ … gb2pp7.gif

This is the Madcatz cable for transferring images from the GB camera to PC. Lets say we removed the link port connection and connected it to a 74HC165.

74HC165's Parallel connection connected to D0, D1, V and CLK, which leaves four free bits which could be used as a natural break in the data sent.
74HC165's Sout connected to Parallel pin 12 (or through the diode and transistor)
74HC165's enable connected to ground, or something.
etc...

Those cables are for printer connections only. They cannot fully emulate a full DB25 connection over USB.

friendofmegaman wrote:
jazzmarazz wrote:

The 74HC165 is a Parallel-In, Serial-Out shift register... however I think that it may not be connected directly to a USB cable. lol
Maybe an RS232 cable, but not directly USB... it was a wild idea any way. The thought was to have no microcontroller to reduce size and cost.

Theoretically... could we leverage some parallel interface for that? It should be feasible to clock it from GB clock and get all the data as needed. In fact we only need VSYNC, CLOCK, DATA0, DATA1... some 4 pin parallel interface anyone?

Yeah, possibly. The only problem I see is that very few people are going to have access to a parallel interface at home, let alone "on the road."

751

(5 replies, posted in Releases)

Excellent creation, really. This successfully describes the minimalist approach and is in fact, music.

uXe wrote:

Edit: unless the VRAM is built into the CPU? hmm

Haha, thanks for sharing. wink
Even though the VRAM may be internal, the pins are still available on the outer edge of the CPU. Now in both cases, you would have to add one of those dual port RAM ICs, so while using a pocket CPU, the contents would be mirrored to the dual port RAM. In both cases, the contents would still be fully accessible, granted they end up as being of any use to us. I think we dropped that idea by now though.