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

Emulated 386/33Mhz, 2MB RAM

Works perfectly smooth on EeePC class CPU.

w84death, to asm
@w84death@fosstodon.org avatar

For anyone intrested in boot sector programming this is the best tool out there!

I was searching so long for anything close to this for days. And bum! I don't even remember where I found it.

=> https://www.bootsector.games/

  • x86 BIOS Emulator
  • Assembly IDE (bad error handling)
  • Compiler, Debugger, Stepper
  • Live memory map! <- this is HUGE for me
  • Web only (Good and bad)


image/png
image/png

w84death, to asm
@w84death@fosstodon.org avatar

Yes!
Decoding binary pixel data using AND mask.

4b worth of sprite 🌱 (4x8)

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, 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, 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, to asm
@w84death@fosstodon.org avatar
thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

Thoughts on 3 months of usage (in ):

  • Easy to pick up and read
  • Good libraries
  • Generics
  • No closures
  • Binaries aren't small
  • LSP (pasls) isn't complete, but better than nothing; + really help
  • Docs are frustrating
  • Good forums/community
  • Targets SO MANY platforms (, 32-bit , , , )! More than Rust, Go
  • A lot of historic books and projects

Would I use again? Absolutely yes, without doubt.

83r71n, to Cybersecurity
@83r71n@ioc.exchange avatar

Google has introduced Kernel Address Sanitizer (KASan) to enhance the security of Android firmware. KASan is designed to detect memory corruption vulnerabilities and stability issues before they affect user devices. It works by monitoring memory access operations to ensure they only target valid regions, identified in a shadow memory area. This tool has already helped identify and fix over 40 memory safety bugs in Android firmware. KASan is particularly useful for bare-metal targets, requiring specific compiler options and strategies to implement effectively. It's part of Google's efforts to address the security challenges posed by the vast number of Android devices and the fragmented ecosystem that makes vulnerability patching difficult.

https://security.googleblog.com/2024/03/address-sanitizer-for-bare-metal.html

winterschon, to architecture
@winterschon@hachyderm.io avatar

another on-premise bare-metal cluster build for 2024!

greater than five but fewer than ten Ampere Altra Q80-30 servers will be combined with Xeon based hosts of mostly-equivalent specs (dual-socket 8280 and E5-2697v4 hosts), 768GB - 1TB of RAM per each, and NICs w/ multiple 10, 25, and 100GbE ports depending on system role. switches are all Arista.

should be an enjoyable deployment!

minioctt, to opensource Italian

Negli ultimi tempi ho sentito parlare sempre di più di ; per chi non lo conoscesse, è un sistema , purtroppo acerbo in stabilità e compatibilità ma estremamente promettente in termini di esperienza utente. Diciamo che è Linux senza strane inconsistenze e che non richiede di imparare tremila cose per essere usato, ma è anche estremamente più prestante del sistema desktop pinguinastico moderno medio (è una bugia colossale che Linux non abbia bloatware e che giri bene), oppure che è macOS senza gestione dittatoriale e senza cacca a forma di mela dentro… qualunque paragone preferiate. 😏️

Boh, vedo sempre di più che viene usato sui laptop, viene testato di più, proprio prima ho visto questo video di che lo usa giornalmente su un Thinkpad. Volevo provarlo già credo anni fa, ma non funzionava, non voleva partire. Ma ora, visto che a pare siamo finalmente alla 4, e che le cose si stanno muovendo in termini di compatibilità sia hardware che software (tante applicazioni libere di uso comune per task disparate stanno venendo portate), ho provato a flashare la ISO live su chiavetta, avviarla sul mio portatile Aspire v3-572G, e, incredibilmente… 🤫️

https://octospacc.altervista.org/wp-content/uploads/2024/02/screenshot2-960x540.png

funziona! Questa schermata l’ho catturata direttamente da lì, e ho qualche cosa. Posso collegarmi al WiFi, anche 5 GHz, usare il terminale per collegarmi via SSH al server, la riproduzione audio funziona (ma ahimé non vanno le schede audio USB), e la grafica 3D anche (chissà se accelerata o meno). Il browser WebPositive è rottissimo e malperformante, ma mi sorprende funzioni abbastanza da permettermi di loggare in WordPress, superando il reCAPTCHA, e scrivere questo post tutto da lì (ma ho dovuto attivare il Classic Editor, quello moderno non inviava le modifiche al sito). In ogni caso, c’è Falkon sull’app store integrato, che usa il motore Chromium e dicono sia invece ottimo (e su Linux va OK). Non ho potuto installare cose da lì però, perché mi chiede di riavviare per applicare le modifiche (?), ma sono da live come detto prima. Magari poi installerò l’OS residente proprio sulla pennetta per provarlo meglio, per sfizio. La funzione per cambiare la luminosità del display però non funge, e non ho nemmeno provato cose riguardo la batteria. Il touchpad funziona quasi perfettamente, anche lo scorrimento con due dita (non scontato), ma non va purtroppo il click destro soft, e alla sensibilità massima è comunque lentissimo da muovere. I mouse USB funzionano però (duh). 🙃️

Edit dopo 2 minuti: LMAO è appena andato in kernel panic, dopo che il MicroBlog ha iniziato a dire che la sessione di login era scaduta, mi si sono aperte tante schede di login, e ho tentato di riavviare il browser… vabbé, può capitare.

https://octospacc.altervista.org/2024/02/27/haiku-os-belin/

neimi, to homelab German
@neimi@voi.social avatar

🖥️ Würde die Persistenzen meines - gerne auf umstellen...

Wie kann ich den Speicher dann auf auf meinem Arbeitsrechner mounten um Konfigurationen zu bearbeiten?

Bisher wird alles auf mein NAS gespeichert und die Freigabe kann ich natürlich auch einfach auf dem Desktop mounten... aber wie läuft das dann mit dem ?

Also falls weiß wie man das umsetzt... her damit 🙏

erwünscht 🔃

diyelectromusic, to RaspberryPi
@diyelectromusic@mastodon.social avatar

I'm just scanning over the changes being made in the Circle bare metal environment to support the Raspberry Pi 5.

Rene Stange is a true wizard at this stuff :)

https://github.com/rsta2/circle/compare/master...rpi5

rml, to guix
@rml@functional.cafe avatar

Actually existing 《 coding 》be like:

Copyright (C) 2016 Jeremiah Orians
This file is part of

stage0 is free software: you can redistribute it and/or modify. It under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. stage0 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

ELF Header

7F 45 4C 46
02
01
01
03
00
00 00 00 00 00 00 00
02 00
3E 00
01 00 00 00
FB 00 60 00 00 00 00 00
40 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00
40 00
38 00
01 00
00 00
00 00
00 00

Program header table

01 00 00 00
07 00 00 00
00 00 00 00 00 00 00 00
00 00 60 00 00 00 00 00
00 00 00 00 00 00 00 00
9B 01 00 00 00 00 00 00
9B 01 00 00 00 00 00 00
00 00 20 00 00 00 00 00

Hex

48 83 f8 23
74 26
48 83 f8 30
7c 6f
48 83 f8 3a
7c 5a
48 83 f8 41
7c 63
48 83 f8 47
7c 58
48 83 f8 61
7c 57
48 83 f8 67
7c 47
eb 4f

Purge Comment

48 c7 c2 01 00 00 00
48 c7 c6 99 01 60 00
48 c7 c7 00 00 00 00
48 c7 c0 00 00 00 00
0f 05
48 85 c0
0f 84 be 00 00 00
8a 04 25 99 01 60 00
48 0f b6 c0
48 83 f8 0a
75 c8
48 c7 c0 ff ff ff ff
c3

ascii num

48 83 e8 30
c3

ascii low

48 83 e8 57
c3

ascii high

48 83 e8 37
c3

ascii other

48 c7 c0 ff ff ff ff
c3

start

49 c7 c7 ff ff ff ff
49 c7 c6 00 00 00 00

Loop

48 c7 c2 01 00 00 00
48 c7 c6 99 01 60 00
48 c7 c7 00 00 00 00
48 c7 c0 00 00 00 00
0f 05
48 85 c0
74 5d
8a 04 25 99 01 60 00
48 0f b6 c0
e8 3c ff ff ff
48 83 f8 00
7c c7
49 83 ff 00
7d 0c
49 89 c6
49 c7 c7 00 00 00 00
eb b5

print

49 c1 e6 04
4c 01 f0
88 04 25 9a 01 60 00
49 c7 c7 ff ff ff ff
48 c7 c2 01 00 00 00
48 c7 c6 9a 01 60 00
48 c7 c7 01 00 00 00
48 c7 c0 01 00 00 00
0f 05
eb 80

Done

48 c7 c7 00 00 00 00
48 c7 c0 3c 00 00 00
0f 05

Place for input, This actually isn't required but here it is

02 00 00

https://savannah.nongnu.org/cvs/?group=mescc-tools

linuxmagazine, to linux
@linuxmagazine@fosstodon.org avatar

Issue 277 is available now! This month, Joe Casad looks at
Microsoft's tutorial on how to install Linux and whether or not Microsoft truly "loves Linux" https://www.linux-magazine.com/Issues/2023/277/Welcome

angusm, to windows
@angusm@mastodon.social avatar

"Ohai, this is Windows. You may have noticed that I killed all the long-running jobs that you left going overnight and restarted your computer so that I could inject some AI-flavored bullshit you never asked for into your (*) operating system. You're welcome!!!”

(*) “It's not actually yours, of course. The OS now works for our Marketing Department rather than you. kthxbai.”

kkarhan,
@kkarhan@mstdn.social avatar

@pasmac @angusm Still, a is preferable over as it allows isolation and doesn't brick one's workflow because being Windows = binary trash that constantly reboots and crashes.

Also you can simply backup & restore that VM when you need to and don't have to setup everything from scratch...

itnewsbot, to tetris
@itnewsbot@schleuss.online avatar

Tetris Clone Uses 1000 Lines of Code, and Nothing Else - If you’re programming on a modern computer, you typically make use of lots of work... - https://hackaday.com/2023/09/25/tetris-clone-uses-1000-lines-of-code-and-nothing-else/ -m7

itnewsbot, to Dragonlance
@itnewsbot@schleuss.online avatar

Blinkenlights to Bootloader: A Guide to STM32 Development - While things like the Arduino platform certainly opened up the gates of microcontr... - https://hackaday.com/2023/08/06/blinkenlights-to-bootloader-a-guide-to-stm32-development/ -to

saustrup, to Kubernetes
@saustrup@mstdn.dk avatar

Thinking about rolling out on the 7-node cluster hosting https://mstdn.dk and various other services like DNS, SMTP, IMAP and a bunch of other websites. Seems like a really solid project and much needed replacement for the aging, Python-based . Will keep you posted as I figure it out.

adminmagazine, to aitools
@adminmagazine@hachyderm.io avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • GTA5RPClips
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • Leos
  • osvaldo12
  • cisconetworking
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • provamag3
  • normalnudes
  • tester
  • JUstTest
  • All magazines