f4grx, to random French
@f4grx@chaos.social avatar

This does not look like much, but my operating system is now able to do console I/O via a character device:

  • A device manager registers available devices
  • stdio init calls open on the console device, which allocates a file structure and returns a file descriptor,
  • then console_puts calls write() on the returned file descriptor to emit the string.

The calling convention makes maximum use of registers and is not that bad.

All of this was written in hc11 .

amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

Retro Programming is a delightful but sadly abandoned blog about programming retro systems, particularly the Spectrum and Z80 devices.

However, the archive is full of great posts on Z80 Assembly, Forth, BASIC, and more. Lots of interesting technical details and project ideas.

http://www.retroprogramming.com

thelastpsion, to random
@thelastpsion@bitbang.social avatar

Did you write code for machines in the and ?

We're calling for you to open source your code!

I'm working with a group of enthusiasts, building a library of information about the SIBO/EPOC16 platform. Your old code could give valuable insight, as well as encourage people to write new code.

We're especially interested in old C and .

Upload it to your public repository of choice, and set it free!

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

bitzero, to linux
@bitzero@corteximplant.com avatar

I'm brand new here, so an is a good idea:

I'm a freelance tech writer / software developer / KM project manager based in Europe. Digitally, I was born in the 90s. So I grew up eating cyberpunk books, BBSs, home computers, hacking, then the first doses of Internet and the Web.

In the 90s and the first 00s I developed my (ahem) "philosophy": digital spaces are (can be, should be) autonomous zones where different cultures, and sub/counter-cultures, can thrive.

These are the years of the enshittification of Internet, but it can't rain forever (cit.) and I see the Fediverse as a new opportunity for some of us to recreate better and safer digital spaces.

That's the "vision". Than there's the daily life: I write code (awful, mostly), help companies in managing their knowledge bases, write technical documentation, sometimes write tech articles for (mostly unknown) business tech manazines.

In the spare time, I tinker with Linux, Risc-V boards and "old" languages like Forth, Assembly and C (but I'm a fan of Haskell too). I'm convinced that permacomputing and, maybe, collapse computing are our digital future. So, "back to basics" seems a good idea.

That's all, I guess. Nice to meet ya.

-V #C

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

Am I right in saying that, on every processor in commercial use (i.e. not something an academic has dreamed up to discuss a hypothetical that no one else cares about), ADD is a faster (fewer cycles) operation than DIV?

(I know that a compiler might change a division to MUL, ADD, and some form of shift.)

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

amoroso, to random
@amoroso@fosstodon.org avatar

Browsing through GitHub I discovered an inconspicuous repo that's actually a gem. Z80 Tools is a Z80 Assembly development environment comprising an editor, assembler, debugger, terminal emulator, and other tools.

Here's Z80 Tools running under Crostini Linux on my Chromebox.

https://github.com/maccasoft/z80-tools

Walop, to demoscene

Last place, but finally did try and make at least something.

https://youtu.be/t-svjv3LDdQ

w84death, to asm
@w84death@fosstodon.org avatar

Yes!
Decoding binary pixel data using AND mask.

4b worth of sprite 🌱 (4x8)

amoroso, to Games
@amoroso@fosstodon.org avatar

TetrOS is a Tetris implementation in x86 Assembly that fits into a 512 byte boot sector. Cute.

https://github.com/daniel-e/tetros

amoroso, to random
@amoroso@fosstodon.org avatar

This is interesting: a good and extensive ARM Assembly programming tutorial. The architecture and instruction set seem more approchable than I thought for manually writing simple programs, not just for compiler-generated code.

https://azeria-labs.com/writing-arm-assembly-part-1/

dec_hl, to random
@dec_hl@mastodon.social avatar

ok, what's interesting in 2024? I already have the following events on my list:

Demo parties:


(FI)

Hacker events:


Gothic Festivals:


Medieval:
https://www.mittelalterkalender.info/mittelaltermarkt/mittelalterfeste-2024-nach-bundesland.php

Any more suggestions?

davidbisset, to ComputerScience
@davidbisset@phpc.social avatar

My daughter is a college junior getting her degree. She's currently frustrated and hitting some issues w/ her code in a class.

"Hey i code for a living... happy to be your rubber duck... what language are you coding in?"

Her: ""

Me:

video/mp4

stvo, to NixOS German
@stvo@darmstadt.social avatar

OH: "Die klatschen immer, wenn sich jemand installiert."

Wer also dachte das hat was mit umfallenden Flaschen zu tun, ihr seid nun informiert :blobcatdisputed:

@nixos_org

w84death, to asm
@w84death@fosstodon.org avatar

I made a paper backup of the code. Four A4 pages per game (single side).

image/jpeg

RetroFunPL, to random
@RetroFunPL@8bit.red avatar

is not only a modern tv series.

It started with a movie in 1973 and a book in 1974, both by Michael Crichton.

The original movie seem to have glimpses of code pretending to be the robots' programming.

The code looks like actually some digital movie/animation production software! in 1973!

Does anyone recognize what assembly flavor, what CPU might it have been?

image/jpeg

kohelet, to programming
@kohelet@mstdn.social avatar

I just started to learn Assembly today.
Yup. hurray me.
It's a very refreshing view on programming after only using high level languages like Python or shell languages.

I kinda want to love this language, but she's making it hard.

profoundlynerdy, to forth
@profoundlynerdy@bitbang.social avatar

Those of you who love , do you foresee a pathway out of obscurity for the language? In an era where memory safe languages like dominate, does forth have something to offer?

It used to be that its super power was being "just enough abstraction" atop language made it the king of flexibility. But in an era where machine language institutions are themselves just really fast macros in a tiny CPU cache, I'm not sure how helpful that is.

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

peter, to retrocomputing
@peter@area51.social avatar

Another new book about assembly language just arrived, this time the PDP-11/60 processor handbook by digital from 1977.

Inside look at the info on a processor instruction

retrotechtive, to zxspectrum
@retrotechtive@retrochat.online avatar

And now, the moment that nobody has been waiting for...

Colin The Cleaner - TURBO! 100% Assembly Edition!

https://youtu.be/CZhntG_ZUHQ

This is a manual transcode I've been doing, just for the fun of doing Z80 coding again 😄

All the gameplay is in place, the 15 levels can all be completed.

Still missing some presentational parts, the "UI" for defining keys, etc.

thankfulmachine, to random

In love with the "Address Register Indirect with Postincrement" addressing mode. Yes, I know we have every fancy thing imaginable today, but thinking about it in context, I think it's amazing.

.loop:
move.l (a0)+,(a1)+
dbra d0,.loop

Where d0 contains the number of longwords to copy. Address increment works with words and bytes as well? Love it!

w84death, to asm
@w84death@fosstodon.org avatar

Emulated 386/33Mhz, 2MB RAM

Works perfectly smooth on EeePC class CPU.

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