Email or username:

Password:

Forgot your password?
10 posts total
tsalvo

Varvara / Uxn core 0.0.1 for Analogue Pocket is released!

It’s still early, and a lot of features aren’t there yet, but it should be good enough for some simple demos and games 🙂

github.com/tsalvo/openfpga-var

tsalvo

More progress on Uxn for Analogue Pocket 🙂

Still working on these changes to clean up the double buffering, which should help stabilize the video, and remove the need to toggle the Frame Blending setting on a per-ROM basis. Still needs a tiny bit of work

These videos look similar to recent posts, but now it looks more stable even with Frame Blending disabled (less flickering). And no more blended frames with the previous screen (e.g. remnants of a title screen during gameplay).

tsalvo

Another example:

The amiga.rom is also looking great now with these changes! Before, the grid was shimmery without Frame Blending enabled, and the ball would leave a trail of pixels behind it with Double Buffering enabled.

But every once in a while, with these new changes, I see some corruption at the top of the screen. So even though it’s a good improvement, I may still have some timing issues to sort out

tsalvo

Some more progress on sprites! The 2bpp mode is working much better now, but I still have lots of weird drawing bugs. It’s getting there slowly though 😀

#AnaloguePocket #uxn #varvara #fpga

Jonas

@tsalvo
Damn nice! I wonder how hard it would be to port your work onto a MiSTerFPGA (Intel DE0)

tsalvo

A couple games are getting so close to playable!

I’m going to try running
some FPGA simulations in GHDL for some basic test ROMs, and compare output logs to the Uxn software emulator. The simulator runs many thousands of times slower than the real thing, and is a pain to set up, but I think I can no longer guess my way through it. Too often I’m trying random ideas, waiting 10 mins for a build to finish, and then seeing if it worked on the Pocket 😅

#AnaloguePocket #uxn #varvara

A couple games are getting so close to playable!

I’m going to try running
some FPGA simulations in GHDL for some basic test ROMs, and compare output logs to the Uxn software emulator. The simulator runs many thousands of times slower than the real thing, and is a pain to set up, but I think I can no longer guess my way through it. Too often I’m trying random ideas, waiting 10 mins for a build to finish, and then seeing if it worked on the Pocket 😅

tsalvo

A little more progress on the Uxn core for Analogue Pocket! Some of the test ROMs are looking a little closer to how they are supposed to 😀 I started to fix some issues with how I was implementing the multiple sprite drawing, but I think I still have some more work to do with blending.

Sorry for the lack of updates lately - progress has been slow because I was really sick for a while. Feeling much better now!

#AnaloguePocket #uxn #varvara

bbbbbr

@tsalvo Glad you are feeling better. :) Cool to see more of this project.

Devine Lu Linvega

@tsalvo looks like you got 1bpp nearly down :) Glad to hear you're feeling better!

tsalvo

A few more ROMs are working on the Analogue Pocket Uxn core, and input is hooked up now! I have so much more to do, so a lot of things still don’t work, but a little more progress is always exciting to see! 😀

Next, I’ll try to implement the auto-advancing sprite drawing (where a single instruction could draw as many as 16 sprites).

#AnaloguePocket #uxn #varvara

Devine Lu Linvega

@tsalvo Nicely done :) what resolution does the Pocket have?

tsalvo

Loading Uxn ROMs from the SD card! There are still bugs to work out with a couple ROMs that were working before, but it’s getting there!
#Uxn #Varvara #AnaloguePocket

tsalvo

Just fixed a CPU bug where something was just slightly off by one. That was a tough one to find, but more test ROMs are working now.

I started out with an 18MHz clock speed on the Pocket, which ought to be more than enough for everyone right? 😅 I’m gonna try to see if I can increase that speed. Maybe I can also get some more instructions to complete in fewer cycles. Then finally, I’ll go back to working on sprites!

#Uxn #Varvara #AnaloguePocket

Devine Lu Linvega

@tsalvo Oooh! You've got the chibicc example going :D

What was the CPU bug btw, I'm curious if maybe I can't add a note about it in the docs?

I'm sure @lynn and @hikari would be happy to see this :)

tsalvo

After increasing the clock speed, and a couple other minor improvements, it’s a little smoother now!

#Uxn #Varvara #AnaloguePocket

tsalvo

A little more progress on the Uxn core for Analogue Pocket! Screen vectors are working, at least partially. This means that “game logic” code, which needs to execute once per frame, is handled correctly. This is assuming we are starting on a new frame where the CPU isn’t already busy. Otherwise, it will wait another frame to try again.

“What’s your vector, Victor?” 😀

#Uxn #Varvara #AnaloguePocket

tsalvo

More progress on Uxn / Varvara FPGA core for Analogue Pocket 😃 even though it doesn’t look like it.

Still trying to get the fill modes for drawing to work, and seeing some interesting results, but I think I’m close!

Once this is working, the fill modes will allow drawing rectangles from a point to one of the 4 corners.

Then sprite drawing is next!

tsalvo

Much closer now! I think the flickering is because it’s looping back to the beginning and trying to draw everything again

Devine Lu Linvega

@tsalvo Oh wow, things are moving along! If you'd like a simpler test file, where things are more isolated, let me know and I'll make you one :)

edit: Just saw your latest video where you've made your own test file, you've got this ✊

Go Up