Sign in

fbf4976

@fbf4976.bsky.social
112 followers 104 following 375 posts

Embrace the retro, go back to assembly. 💾 Anime drawings are nice. 👍

PostsRepliesMedia
fbf4976 @fbf4976.bsky.social · 21/09/2025
I support art. I support believing in people. I support freedom of expression. I condone giving choice away. People have minds. Don't insult them by trying to decide for them. Don't kill the butterfly. #bskycensorship
An abstract image with sparks, an arrow pointing upwards and growing bar, along with Bluesky logos following the trend. Stand for art. Stand for freedom. #bskycensorship
143
fbf4976 @fbf4976.bsky.social · 10/12/2024
"Eh, True! An adult is lashing out at a child!"
Mr. Everett True, from "The Outbursts of Everett True" (by Condo), with a black coat and a hat, looking at the viewer and smiling cynically.
1130
fbf4976 @fbf4976.bsky.social · 08/12/2024
I knew there were roller captions that did not skew titles like in the example below. 😅 Source: www.youtube.com/watch?v=h3Mu...
000
fbf4976 @fbf4976.bsky.social · 08/12/2024
Original source: twitter.com/yua_n0/statu... (2/2)
Original image, with no processing.

Subject: Towa Tokoyami (Hololive JP).
000
fbf4976 @fbf4976.bsky.social · 08/12/2024
Experimenting with images and logarithms. Process each pixel of an image, either by channel or as a packed long: get its logarithm, round to a certain no. of decimals, and revert back. (1/2) Source below. #python #pillow #numpy #images #colors #transformations #logarithms #computing
Pixels processed as packed colors in long values, in the order: red, green, blue. Blue uses the least significant bits.

Logarithm used: natural (base e).
No. decimals preserved: none.

Subject: Towa Tokoyami (Hololive JP)Pixels processed as packed colors in long values, in the order: green, blue, red. Red uses the least significant bits.

Logarithm used: base 32.
No. decimals preserved: 15.

Subject: Towa Tokoyami (Hololive JP)Pixels processed per channel (each primary color separately).

Logarithm used: base 16.
No. decimals preserved: 1.

Subject: Towa Tokoyami (Hololive JP)Pixels processed as packed colors in long values, in the order: red, green, blue. Blue uses the least significant bits.

Logarithm used: base 10.
No. decimals preserved: 1.

Subject: Towa Tokoyami (Hololive JP)
100
fbf4976 @fbf4976.bsky.social · 05/12/2024
Sega doesn't do what NintenDOes. smh
Garfield the cat, looking at the viewer, visibly annoyed.
000
fbf4976 @fbf4976.bsky.social · 30/11/2024
Three transmitters from the mythical era. 📡 Src.: tinyurl.com/TVCB75
A photo of a seemingly pale pink or light brown building, with cars parked by its side. Above, dominating the mildly overcast blue sky, three transmission antennas, or transmitters, emerge, painted white and red. Judging from the car brands and the general look of the photo, it must have been taken during the 70s.
000
fbf4976 @fbf4976.bsky.social · 29/11/2024
More than a century knowing it. It's just that today we have better masks. 😷 Dr. Wise on Influenza (1919) www.youtube.com/watch?v=84nq...
A captured frame of "Dr. Wise on Influenza", a silent film from 1919.

It reads: "Those in attendance upon influenza patients or compelled to remain near others with a cold, should protect themselves by wearing a face-mask. A simple one can be made from a handkerchief or piece of lint."
001
fbf4976 @fbf4976.bsky.social · 29/11/2024
I took the 8086 CGA demo and added keyboard options to switch between color palettes and intensities, as well as line direction (it simply swaps between ROR and ROL). #assembly #x86 #cga #retrocomputing #dos #programming #graphics
020
fbf4976 @fbf4976.bsky.social · 26/11/2024
I recognize a Windows 1.0-styled scroll bar whenever I see one. (Second image.) 😂
A Windows 1.0 session, with multiple tiled windows in view. 

There are 5 open windows: 3 on the left, which are, from top to bottom, Clock, MS-DOS executive, and Microsoft Multiplan; and 2 on the right, which are, top down, IBM Filing Assistant, and Clipboard.

Minimized at the bottom of the screen are 3 icons, representing, from left to right, Calendar, Calculator, and Terminal. 

The desktop background is a type of blue, as well as the window title bars, and the scroll bars have a yellow background with white controls. The active window has a deeper blue window title bar color, and is MS-DOS executive.
020
fbf4976 @fbf4976.bsky.social · 26/11/2024
Take 2 on the CGA shenanigans. I messed up by using words instead of bytes. 😂 #assembly #programmimg #dos #x86 #cga #graphics #retrocomputing
86Box in full screen, showing a diagonal pattern in CGA graphics, 320 by 200 pixels, 4 colors, 2 palettes to choose from.

The pattern this time goes: black, cyan, magenta, white. It spans from the upper right to the lower left corner of the screen.

A mistake was made at the first try by assuming the 4 colors occupy a word (2 bytes), when in reality, the 4 colors fit in a byte (one color per nibble).

Due to photographic artifacts, the cyan color is not visible at the edges of the screen.
020
fbf4976 @fbf4976.bsky.social · 25/11/2024
CGA graphics demo, using x86 assembly. Based on: www.chibialiens.com/8086/platfor... #assembly #x86 #msdos #dos #retrocomputing #cga
A screen showing 86Box, a PC emulator, emulating a Compaq DeskPro 386.

Inside the emulated screen, a diagonal pattern spans from the upper right to the lower left corner, made out of black, yellow, green, and red lines, in the order: black black, black green, black red, black yellow.

This is graphics mode 4, one of the original CGA modes, which allows for 320-by-200, 4-color images, from one of two available palettes.

Direct memory programming is interleaved, and some helping functions from ChibiAliens tutorials were used as reference.
041
fbf4976 @fbf4976.bsky.social · 25/11/2024
I rechecked my code, and saw I missed a colon. (Using TASM notation.) <(=﹏=)> #assembly #programmimg #dos #x86 #watcom #msdos
Part of a window, which is 86Box, a PC emulator, emulating a Compaq DeskPro 386.

Inside the emulated screen, Compaq DOS 3.31, showing the result of running a "Hello World" program, written in x86 assembly, and assembled and linked with Open Watcom 2.0, tiny memory model (size of code + data at most 64 KiB).

Missing from the first try was a colon labeling the message, within the data portion of the program. Also unnecessary is the data segment setting (only used for small memory model and beyond).
010
fbf4976 @fbf4976.bsky.social · 25/11/2024
Setting foot into x86 assembly territory, I tried to make sense of the Open Watcom grimoires to get a mythical-era COM executable. But... <(=﹏=)> #assembly #x86 #watcom #pc #dos #computing
A window showing 86box, a PC emulator, emulating a Compaq Deskpro 386, with Compaq MS-DOS 3.31.

Within the emulated screen, the result of executing a "Hello World" program, written in 16-bit x86 assembly, and linked as a COM file, which implies a tiny memory model (code and data are in the same segment, which cannot exceed 64 KiB). Open Watcom 2.0 is used to assemble and link the executable.

As it can be seen, garbage is printed instead of the desired message.

Using Open Watcom to create COM files is difficult, as the default setting for such files assumes a C language program is being compiled, and so automatically integrates startup code to set segments and entry points understandable by C objects. In this case, however, this code is not needed, and so, the assembly code must perform the initialization by itself.

It is suspected the initialization is not being done correctly in this case, as a separate data section contains the string to print, with no obvious constraint enforced to it, and a warning relocating the code segment to address 0x101 is observed, when the startup address for a COM file must always be 0x100.
120
fbf4976 @fbf4976.bsky.social · 19/11/2024
Is just like the perinola. 😂 Fauna gets "Take 1". Mumei gets "Take all". (The only difference is that they take from each other, instead of from a common pile.)
A white, die-like object, known as "perinola", is shown at the center of a gray background. It has Spanish words written in red.

The perinola can be thought of as a spinning, 6-side die, with a round tip visible on the left, and a handle on the right. You put the trip on the table, then make it spin by spinning the handle with your hand.

The game is played with a few players, and a pile of objects (beans, rocks, candy... anything goes). The first player spins the die, and does what is instructed by the visible side after it stops spinning and tips to the side, if possible.

Possible moves:
* "Toma 1" (Take 1 item from the pile.)
* "Toma 2" (Take 2 items from the pile.)
* "Pon 1" (Return 1 item you've taken before to the pile.)
* "Pon 2" (Return 2 items you've taken before to the pile.)
* "Toma todo" (Take all the pile. You win!)
* "Todos ponen" (Everyone must return all their items to the pile; the game starts over.)
000
fbf4976 @fbf4976.bsky.social · 09/11/2024
Of course... 😎
Lina Asahi's profile picture, but in inverted colors, and text at the top that reads: "TAC".

This works because, in addition to "cat", which is a Linux command that shows the contents of a file, there is the command "tac", which also shows the file but inverted (line-wise by default: the last line is shown first).
020
fbf4976 @fbf4976.bsky.social · 03/11/2024
It reminded me of this meme. 🤭 "If you didn't want me when I was like this:" * shows a $1 note * "Then don't look for me when I get like this:" * shows a $25 note *
A meme in Spanish, which reads:

- First half: If you didn't want me when I was like this...

- First image: A blue, $20 Mexican pesos banknote, roughly $1 dollar, with the face of Benito Juarez, an important historical figure of Mexico.

- Second half: Then don't look for me when I get like this...

-Second image: A blue, $500 Mexican pesos banknote, roughly $25 dollars, with the face of Benito Juarez. This note is newer than the first one.

The meme works because the same person is in both bills, and therefore can be understood as if time made him more valuable.
000
fbf4976 @fbf4976.bsky.social · 03/11/2024
Intersections. Source: github.com/cat-milk/Ani... #computing #frieren #assembly
Frieren in apprehensive mode, holding an assembly language book with both hands, as if it were a shield.
000
fbf4976 @fbf4976.bsky.social · 28/10/2024
Vertical lines in Apple II low-res graphics mode. Demo written in Integer BASIC; draw routine done in assembly, based on lookup tables and 2 edge cases (drawing "half" a memory address, which is one pixel, at the edges). #apple2 #appleii #assembly #graphics #basic #retrocomputing #retro
A window showing AppleWin, an Apple II emulator. Inside the emulated screen, a series of vertical lines covering all the screen, save a few 1-pixel wide holes at the edges.

The holes at the upper edge follow the pattern "on, off, off, on" from left to right, whereas the ones at the lower edge follow the pattern "on, on, off, off". These are intentional, as they test the edge cases for this specific implementation.

The colors shown are, from left to right: black, red, dark blue, purple, dark green, gray 1, medium blue, light blue, brown, orange, gray 2, pink, light green, yellow, aqua, and white. This is a repeating pattern that covers all the screen.
082
fbf4976 @fbf4976.bsky.social · 21/10/2024
Stepping it up a bit: horizontal lines in low resolution graphics, for the Apple II. Routine in 6502 assembly, called for each line in an Integer BASIC program. Direct memory manipulation. (calculating the base address was quite the task!). #appleii #apple2 #assembly #retrocomputing #graphics
A window showing AppleWin, an Apple II emulator, in 50% Color TV mode.

Inside the emulated window, a series of horizontal lines can be seen. The lines are drawn in low resolution, covering the entire screen, and cycle through all available 16 colors, repeating the cycle 3 times in total.

From top to bottom, the colors are: black, red (shown as dark pink), dark blue, purple, dark green, gray 1, sky blue, light blue, brown, orange, gray 2, pink, light green, yellow, aqua, and white.
010
fbf4976 @fbf4976.bsky.social · 20/10/2024
Mixing it up: fast lo-res screen fill demo for the Apple II. The demo itself was done in Integer BASIC; the subroutine that does the actual fill is coded in assembly. 🎉 #apple2 #appleii #retrocomputing #assembly #basic #graphics
022
fbf4976 @fbf4976.bsky.social · 20/10/2024
Numbers and letters that seem so few, so insignificant... And yet, together they compose solutions to one (or even multiple!) problems. #computing #assembly #retrocomputing #apple2 #appleii
A Notepad++ window, showing a seemingly unrelated bunch of numbers and letters.

In fact, those numbers and letters are an assembled program, written for the Apple II, which uses the 6502 processor. Each pair of number-letters is an opcode. All those opcodes start at address 768, or 0x300 in hexadecimal.
111
fbf4976 @fbf4976.bsky.social · 20/10/2024
A. "I mean, either gray is OK, right? They're interchangeable, right?" B. "Well, combine them and see what happens." #apple2 #appleii #retrocomputing #basic #graphics
021
fbf4976 @fbf4976.bsky.social · 20/10/2024
Checkerboard pattern Done using Integer BASIC, in AppleWin, an Apple II emulator. This one is special as it draws by manipulating memory directly, instead of using PLOT. #apple2 #appleii #retrocomputing #basic
A window showing AppleWin, an Apple II emulator, in 50% Color TV mode.

Inside the emulated screen, a checkerboard pattern is displayed, using low-resolution graphics. A series of alternating black and white blocks can be seen, starting with white at the upper-left corner.
020
fbf4976 @fbf4976.bsky.social · 19/10/2024
EBU color bars Program written in Integer BASIC, in Applewin (Apple II emulator) #apple2 #appleii #retrocomputing #basic
A window showing AppleWin, an Apple II emulator. Inside the window, a set of 8 vertical color bars covering the entire emulator screen. Colors rendered with the 50% Color TV setting.

Colors from left to right: white, yellow, cyan, light green, magenta, red (displayed as dark pink), blue, and black.
010
fbf4976 @fbf4976.bsky.social · 19/10/2024
The available colors in Apple II's low resolution mode. Taken from commons.m.wikimedia.org/wiki/File:Ap...
A 4x4 color panel showing all 16 colors of Apple II's low resolution mode.

From the upper right corner, left to right, top to bottom: black, red, deep blue, purple; dark green, gray 1, medium blue, light blue; brown, orange, gray 2, pink; light green, yellow, aqua, and white.

Colors are numbered from 0 to 15 in precisely the order described before.

Both color names and numbers are shown in the lower part of the image, mimicking the color panel distribution.
000