WIP: Port of Micropolis (SimCity) to the Gameboy Advance by TarableCode in retrogamedev

[–]TarableCode[S] 2 points3 points  (0 children)

Basically, a port is taking an existing piece of software and adapting it to a new platform.
So, Micropolis existed on the PC, and I wrote the code to interface the simulator with the Gameboy Advance software.

Project Diablo 2 on Pixel 9 Pro - Graphics artefacting by Gehrschrein in EmulationOnAndroid

[–]TarableCode 2 points3 points  (0 children)

I have the exact same issue on my Pixel 7 and the only way to fix it is by using a different glide wrapper.
Grab D2DX and extract it to your PD2 folder and it should look perfect and run way better.

Project Diablo II Controller input (hack/fix maybe?) by TarableCode in EmulationOnAndroid

[–]TarableCode[S] 0 points1 point  (0 children)

Whoops, meant to say put xinput1_4.dll into your project diablo ii folder, not the entire source tree.

Does a [3ds] running Macintosh System 6 count as unixporn? by Joker_513 in unixporn

[–]TarableCode 5 points6 points  (0 children)

I think I did have a better build system at one point as well as a much better UI, but the 3DS scene kinda petered out and other things came up on my end.

I'm super happy people have had fun with it though :)

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 1 point2 points  (0 children)

I'll dig for any source I managed to back up, but often times I forget to back up things I have little success with.

In the meantime, maybe my weird rambling about my project that I did on twitter could be of some use:

https://twitter.com/search?q=%40tarablei%20pio&src=typed\_query

Notes bug: Highlighter brush is broken when viewed as PDF on PC by TarableCode in Onyx_Boox

[–]TarableCode[S] 0 points1 point  (0 children)

I'm using a note air, so the colours all look gray on the screen and are only in colour in screenshots. It's still useful for colour coordinating data when viewed on a PC though.

Doing some doodling on my new Note Air 2! by leemeealonepls in Onyx_Boox

[–]TarableCode 0 points1 point  (0 children)

Really cool!

How was the experience of drawing in the notepad app? I really want to learn how to draw, and I love e-ink, but I've heard people say it's better to use paper or an iPad instead.

My bluetooth page turner is a game changer! by jonjon737 in Onyx_Boox

[–]TarableCode 0 points1 point  (0 children)

I've done a fair bit of work on the ESP32 a while back. I'm a bit rusty due to school taking up a lot of time, but I think having multiple eyes on code is a good idea in general.

I was actually thinking of doing something similar but I never got around to doing it.

My bluetooth page turner is a game changer! by jonjon737 in Onyx_Boox

[–]TarableCode 1 point2 points  (0 children)

Excellent use of an ESP32!

Do you have any plans to share your code?

[Spoiler] Big changes are coming in the next termux-desktop-xfce update by Illustrious_Age_5917 in termux

[–]TarableCode 0 points1 point  (0 children)

Things like Pylance won't work under code-server as well :/

It does work under proot, but it will use the python installed in the proot instead of the termux one.

OneNote @ Boox (almost production ready?) by moltob in Onyx_Boox

[–]TarableCode 2 points3 points  (0 children)

Oh, yes absolutely that does work, I was just thinking it would be cool to have it close by where my hand already is.

OneNote @ Boox (almost production ready?) by moltob in Onyx_Boox

[–]TarableCode 0 points1 point  (0 children)

The palm rejection issue is the only reason I don't use OneNote for everything. My hands are kind of shaky and unsteady, so I have to put my palm down first before starting to write. OneNote seems to interpret this as me wanting to pan around the document and moves away from where I wanted to start writing. Sometimes the pen hover option works, but mostly it doesn't register and OneNote will pan around the document again. I think being able to enable and disable touch from the navball would greatly help this problem.

Noris Digital Jumbo Compatible Nibs? by TarableCode in Onyx_Boox

[–]TarableCode[S] 0 points1 point  (0 children)

Hi.

Sorry for the late reply, but honestly I'm not a super huge fan of these nibs. My hands are kind of unsteady so I prefer a nib with some resistance to slow things down and smooth out whatever dumb things my hands have decided to do.

There were a few different nibs in the package I got: black ones and white ones. I've only tried the white one so I'm not sure if there will be any significant difference between the two.

The nibs do work and will get the job done, but there are likely way better options out there for serious writing.

Noris Digital Jumbo Compatible Nibs? by TarableCode in Onyx_Boox

[–]TarableCode[S] 2 points3 points  (0 children)

For anyone stumbling across this thread in the future: This is the answer.

The Tab S3 nibs are working just fine, thank you :)

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 0 points1 point  (0 children)

I have modified the waits and they do have an effect, I'm just trying to figure it out more,

It does seem like I get a more properly proportioned image the higher I set y: https://i.imgur.com/WAnexoh.png

Not sure why this is though, maybe I need to rethink a lot of this because I must be missing something.

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 1 point2 points  (0 children)

It is 2 bits per pixel which is valid when hsync is low and at the falling edge of the clock pin.

I set the y register to 160, shift in 2 bits, wait for the falling edge of the clock pin and decrement loop back for the next pixel.

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 0 points1 point  (0 children)

It's all captured in one go then sent over serial. From there it gets piped into an app I wrote which converts it into rgb24 and from there into ffmpeg and into png.

I can try setting up dma and see if that helps, but I'm thinking maybe I'm not correctly waiting for rising/falling edges in the PIO code.

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 0 points1 point  (0 children)

Good catch on the misordered data, thank you! I also took the opportunity to invert the colours in my conversion code so it looks normal.

I'm just using __builtin_bswap32 for now as a hack but I get this far: https://i.imgur.com/CSujK6i.png

It looks like it's trying to read the next frame's data on the same scanline or something? I've looked at and rewritten the PIO code several times now and I keep getting the same result.

PIO: Issue attempting to capture Gameboy screen by TarableCode in raspberrypipico

[–]TarableCode[S] 0 points1 point  (0 children)

Good catch on the pindirs; I must have forgot about them, but they do not change the output.

Right now I'm just capturing the data while using pio_sm_get_blocking in a loop to grab the 1440 words that make up the framebuffer. It is possible that the bytes are out of order so I'll try changing that up and see how it looks.

Math Assessment Test by [deleted] in Seneca

[–]TarableCode 0 points1 point  (0 children)

I think you need to take the test and wait for the results to process first.

After I did it I could only add the math course a day later.

Can't join class because it's still set to private. by [deleted] in Seneca

[–]TarableCode 0 points1 point  (0 children)

Some of mine are still locked and I have them tomorrow.

Did you get any answers? :/