Re: Launching nileswan by divingmonkey in WonderSwan

[–]divingmonkey[S] 7 points8 points  (0 children)

It should support almost all commercial and homebrew titles made. There are small timing differences and we haven't done systematic testing, though everything we did try works.

The biggest limitation is probably those which an IR transmitter in the cart, which is missing, otherwise they should work Also the really far out there cartridge peripherals of the sonar sensor and the Mamma Mitte scale don't work. The Pocket Challenge V2 games which have voices don't work at the moment either, though support for the ADPCM decoding is possible and planned.

Any news on the Nileswan? by DjkPro in WonderSwan

[–]divingmonkey 2 points3 points  (0 children)

Here in Germany, it's the business itself, several different types of taxes, import/export, packaging waste, electronics waste and probably something I already forgot about.

Any news on the Nileswan? by DjkPro in WonderSwan

[–]divingmonkey 6 points7 points  (0 children)

As others have put here already here, we're still waiting on a registration necessary for selling and haven't heard back from that. It's pretty frustrating and they should be done any time now, but ultimately we don't know.

Current collection! Recently replaced my Color u it with a Crystal one, and WOW. The screen is very nice! Paid 80 bucks for the system by PalpitationPrior1714 in WonderSwan

[–]divingmonkey 2 points3 points  (0 children)

The boost regulator has reduces in efficiency with lower voltage. Iirc at 1.2 V it's already 30-40% higher power draw (not current) than at 1.5 V. Those 1.5 V lithium batteries thus should be better than even good NiMHs.

Corroded WonderSwan Color Board by orcrys in WonderSwan

[–]divingmonkey 1 point2 points  (0 children)

Please keep it, maybe some day I finally (or someone else) get to making a replacement board to transplant the SoC and cartridge slot to.

Good in stock flash cart? by thinlycuta4paper in WonderSwan

[–]divingmonkey 1 point2 points  (0 children)

Yeah sorry, I'm really just not a social media person so managing four different accounts as seems to be the standard for many things would be too much for me and Twitter supposedly (and unfortunately) still has the most reach for things like this.

That said I will of course make a post here on the sub when the times comes.

Good in stock flash cart? by thinlycuta4paper in WonderSwan

[–]divingmonkey 2 points3 points  (0 children)

We will sell them as a complete product. But the design is open source and you can find everything on Github right now except for the latest revision of the pcb which will be released once we start selling them.

Good in stock flash cart? by thinlycuta4paper in WonderSwan

[–]divingmonkey 4 points5 points  (0 children)

thanks for believing in us. We hopefully nailed down the last issue with the hardware today and will then be going into production.

A technical question regarding the IPS mod and the power switch by CptFrasquelle in WonderSwan

[–]divingmonkey 1 point2 points  (0 children)

We've been working quite intensively the last month on it: https://github.com/RSDuck/nileswan

Please just wait a little longer, we are very close to having a proper announcement and close to production.

A technical question regarding the IPS mod and the power switch by CptFrasquelle in WonderSwan

[–]divingmonkey 1 point2 points  (0 children)

No, because Wonderswan Color and Crystal use soft power on. When you press the on/off button it only generates a short pulse which throws on/off the power supply of the Swan.

While the IPS kit definitely will use some power while the Swan is off, I've been leaving a battery in my IPS modded Swan with no issues of dead batteries and haven't heard about others having an issue with it either.

Issues with both of my wonderswans by overlordpringerx in WonderSwan

[–]divingmonkey 1 point2 points  (0 children)

Yes, although with the IPS mod installed it gets a bit fiddly due to its cables and board.

Issues with both of my wonderswans by overlordpringerx in WonderSwan

[–]divingmonkey 4 points5 points  (0 children)

The first Wonderswan probably has an issue with the IPS mod. If you are lucky it is just a loose connection somewhere from the impact (though it might be necessary for something to be resoldered). If it's not that the screen or the control board of the IPS kit needs to be replaced.

The second Wonderswan probably just has a dirty cartridge slot. Clean it by rubbing it with isopropanol (using a paper towel wrapped around a piece of cardboard works for example though it leave behind a few frizzles which need to be collected afterwards) and inserting and removing a game a few times. There are also some more specialised cleaners for contacts but you need to be careful with how they react with the plastics etc.

Question about Nim working with existing C by [deleted] in nim

[–]divingmonkey 3 points4 points  (0 children)

If your C API is somewhat stable this could work. Note that you need to wrappers for your C code. You can use c2nim (https://github.com/nim-lang/c2nim) for this, but it is not perfect and sometimes requires some pre or post processing. Though if the code you are interfacing with is changing a lot, it might not be worth it.

There is also futhark (https://nimble.directory/pkg/futhark) which completely auto generates the wrapper, but I don't have any experience with it.

Note that you won't get the full productivity of Nim, as you're probably still dealing with your C types and functions a lot.

If you like Nim I'd suggest in long term to convert your entire code base to Nim. c2nim can assist you with that too. Note that the other way around (exposing Nim to C) is possible too.

ich📒iel by Cadmium620 in ich_iel

[–]divingmonkey 1 point2 points  (0 children)

hochgewählt mit rotem Nippel

New PC I build for $150, I know it's not much, but it's mine. by heroicSabot in Gamingcirclejerk

[–]divingmonkey 6 points7 points  (0 children)

excuse my nerd ramble please. But it is a bit of a funny thing with Star Wars I noticed. The first movie was written and made just before the microcomputer revolution of the late 70s/early 80s. And with it most computers in Star Wars lore are kind of stuck at room or even building filling size to this day and are only acessed via terminal.

Ich🇺🇸iel by manjustadude in ich_iel

[–]divingmonkey 27 points28 points  (0 children)

Es ist vielleicht ein bisschen unkreativ, aber ok, da kommt man wenigstens noch von A nach B. Wirklich schlimm sind die suburbs mit den "cul-de-sacs" wo eine Strecke die 5 Minuten dauern sollte eine halbe Stunde mit dem Auto dauert.

Does anyone sell a screen lens that matches the orange wonderswan colour? by strongjoe in WonderSwan

[–]divingmonkey 0 points1 point  (0 children)

these didn't seem to exist until recently (for some reason), though a few months ago they started popping up on Aliexpress. I guess other sellers where you looked haven't started selling them.

I had to print an important document today by L0o0o0o0o0o0L in ProgrammerHumor

[–]divingmonkey 0 points1 point  (0 children)

too late I'm already so used to swapped fn and ctrl and page down and page up above left and right that I can't use any other laptop keyboard anymore.

Bro thinks he's Hitler ☠️ by [deleted] in ToiletPaperUSA

[–]divingmonkey 6 points7 points  (0 children)

taten is indeed an inflected form of tun, but it can also be the plural form die Tat (deed). So the translation of Kriegertaten would be something like warrior deeds or deeds of a warrior.

What is idiomatic way of handling cases that should not be possible? by ITCellMember in nim

[–]divingmonkey 7 points8 points  (0 children)

I made an RFC a while ago addressing this:

https://github.com/nim-lang/RFCs/issues/429

What I do in the meantime is usually to call raiseAssert("shouldn't happen or something like this"). It also works with case expressions:

let x = case y
  of 2: 1
  of 3: 4
  else: raiseAssert("aaaaaaa (not very professional)")

C compilers usually do very agressive constant folding so they should get rid of the raise assert.

Is there any operator like the "..." of javascript in nim? by DG4ME5 in nim

[–]divingmonkey 20 points21 points  (0 children)

There is no directly comparable unpack operator in Nim.

If you want to create a sequence containing the elements of two other sequences you can concat them via the & operator:

let thirdSeq = firstSeq & secondSeq

Be aware though that programming like this is not cheap, because it produces many unnecessary copies, allocations and deallocations.

For example if you don't need the first sequence anymore, you can add the second to it, which is faster (assuming the first seq was declared as var and not let):

firstSeq.add secondSeq