@w84death@fosstodon.org
@w84death@fosstodon.org avatar

w84death

@w84death@fosstodon.org

> Cyfrowy Nomada and P1X Founder.
> Producer at beffio.

I know how to code.
I know how to make digital art. Pixel Art & 3D.
I know how to fly FPV racing quads.
I host everything myself.

I'm still using floppies.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

w84death, to asm
@w84death@fosstodon.org avatar

Yes!
Decoding binary pixel data using AND mask.

4b worth of sprite 🌱 (4x8)

#ASM #assembly #BareMetal #x86 #BootSector #512bytes

w84death, to asm
@w84death@fosstodon.org avatar

My first boot-sector game is done!

Your goal is to fall into the moving boat at the bottom. Do not touch red platforms or fall into the ocean.

It has four levels.

https://github.com/w84death/x86-assembly

All 512 bytes used!

image/png
image/png
image/png

w84death,
@w84death@fosstodon.org avatar

This is the whole game :)

w84death,
@w84death@fosstodon.org avatar

Quick gameplay video. QEMU.

video/mp4

w84death,
@w84death@fosstodon.org avatar

@tripplehelix become a robot-can!

w84death, to asm
@w84death@fosstodon.org avatar

Removed super nice animated sprite of the player for more space.... This enables me to implement:

  • restart game
  • exit platform to go to next level
  • dying restart to first level
  • 4 levels (last 2 empty in video).

504 bytes

video/mp4

w84death,
@w84death@fosstodon.org avatar

@tripplehelix was taken to another castle :D

w84death, to asm
@w84death@fosstodon.org avatar

State of the game.

  • The dude has 3 frames to save space
  • Simple gravity added
  • Key-press changes his movement direction
  • Dude cant go outside the screen

359 bytes used of 512b limit.

video/mp4

w84death,
@w84death@fosstodon.org avatar

Start of creating level data. To restrict size I only store color, position (in buffer) and length of the lines. Later I will try to make it looks better if I will have enough space left ;)

404 bytes used

Next: collision detection for those platforms!

w84death,
@w84death@fosstodon.org avatar
  • Nicer platforms
  • Gradient bottom
  • Unified delay (need to check on older devices)
  • Collision detection!

499 bytes used ;o

video/mp4

w84death,
@w84death@fosstodon.org avatar

@tripplehelix yeah... I was thinking how to fix that (make it faster) but its not trivial. I need to chceck collisions per pixel. I can reduce delay on falling down but then the whole game will change the speed. And I have an idea of moving platforms :D

w84death,
@w84death@fosstodon.org avatar

@tripplehelix In the end I cheted - done 2px fall (now looks more natural) and aligned platforms to even numbers :) so collisions still works fine.

w84death, (edited )
@w84death@fosstodon.org avatar

@tripplehelix all delays, vsyncs do not works and there is flickering. But I'm almost done with the per pixel drawing of the dude (now girl) with transparency!

EDIT: done ;)

w84death, to asm
@w84death@fosstodon.org avatar
w84death,
@w84death@fosstodon.org avatar

draft for tile set. I hope I will have space to include it. If not the I will be making fill color blocks.

w84death,
@w84death@fosstodon.org avatar

@tripplehelix normal BIOS/QEMU. It's in bootsector (512B) of the bootdisk im creating.

w84death,
@w84death@fosstodon.org avatar

And it's animated! Also figured out how to mirror sprite data when moving in the opposite direction!

Code for the curious: https://github.com/w84death/x86-assembly/blob/main/bootsector/game.asm

video/mp4

w84death,
@w84death@fosstodon.org avatar

@tripplehelix not anymore! :)

video/mp4

w84death, to retrocomputing
@w84death@fosstodon.org avatar

My latest Bryce creations got dedicated page :)

https://smol.p1x.in/retrocgi/

image/png

w84death, to Electronics
@w84death@fosstodon.org avatar

It really works!

1.2V from a 6 regular LEDs.

stfn, to random
@stfn@fosstodon.org avatar

So I ordered a second device, this time for 868MHz. According to https://meshmap.net/ there are some 868 nodes not that far away, so I should be able to achieve at least some contact. And I will leave my 434MHz version for later, maybe one day I will find somebody using that frequency.

w84death,
@w84death@fosstodon.org avatar

@stfn oh, two nodes are realatevely close to me. If I ever join it will make a nice triangle.

So why should I join? :DD

w84death, to retrocomputing
@w84death@fosstodon.org avatar

Testing best setting to print from LibreOffice to the dot-matrix printer.

Liberation Mono 7pt looks nice.

image/jpeg
image/jpeg

stfn, to random
@stfn@fosstodon.org avatar

So I took my newly bought device to the nearby highest hill overlooking the whole city of PoznaΕ„ and... nothing. No one else was on the network. That is disappointing to say the least.

I think I'll try now with a slightly larger antenna, and then I'll go to the city and try again.

w84death, (edited )
@w84death@fosstodon.org avatar

@stfn Intresting. I have Raspberry Pi RP2040 waiting for a project already why not add a LoRa transceiver to it :)

Did not found just a module but this looks nice: https://botland.com.pl/loralorawan/21666-rangepi-lora-868mhz-z-rp2040-usb-stick-sb-components-sku23011-5055652922991.html

Doesn't have WiFi so no tethering but could just probe for near devices.

w84death,
@w84death@fosstodon.org avatar

@stfn I always wanted to create a local mesh network that is self-sustained.

w84death, to random
@w84death@fosstodon.org avatar

Fun fact: rescently I found out that I only use Mastodon app on my phone for social/media/news. I almost forgot about reddit and twitter.

And I get the best content ever thanks to our FOSSTodon place! :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • β€’
  • JUstTest
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • mdbf
  • Youngstown
  • cisconetworking
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • khanakhh
  • megavids
  • ethstaker
  • tacticalgear
  • modclub
  • cubers
  • Leos
  • everett
  • GTA5RPClips
  • Durango
  • anitta
  • normalnudes
  • provamag3
  • tester
  • lostlight
  • All magazines