Advertisement ยท 728 ร— 90

Posts by 5150 ๐Ÿ–ฅ๏ธ

I'm implementing an Intel 8284a clock oscillator chip in async Rust.

Idea: clock + its listeners run in separate Tokio tasks for parallelism; the clock waits for listeners to finish before its next tick.

My first version using Tokio channels maxes out at a 35kHz crystal. A bit less than 14MHz ๐Ÿ˜…

2 years ago 7 1 1 0
Post image

Aaand I figured it out ๐Ÿ˜…

The WiFi232 was sending its Probe Request on channel 1. Once I changed my AP to use channel 1, I got an immediate connection!

2 years ago 0 0 0 0

I've opened Wireshark to investigate. The WiFi232 by default sends beacon frames for its ad-hoc AP (which I can connect to), and then on ATC1 it switches to sending a periodic Probe Request for the target SSID until it times out. But I can't find Probe Responses from my AP! For any device!

2 years ago 0 0 1 0
Post image

Sadly, WiFi configuration isn't working. The firmware build for the device I received is from 2019, and I got my access point in 2021, so maybe it has newer security settings?

2 years ago 0 0 1 0
Output of the "ATI" command, showing information such as the IP and MAC address, configured gateway, and call status.

Output of the "ATI" command, showing information such as the IP and MAC address, configured gateway, and call status.

And luckily also a Mini USB cable, because that's what this requires for power.

Okay, plug it in, connect (via 1200 baud as default, good in case the desired retro computer is old!) and send "ATI" to get... a nice status screen!

2 years ago 0 0 1 0
Photo of a WiFi232. At the top is an RS-232C connector. A serial chip is partially visible behind an ESP8266 module.

Photo of a WiFi232. At the top is an RS-232C connector. A serial chip is partially visible behind an ESP8266 module.

A few weeks ago I stumbled upon a post by Paul Rickards (mastodon.social/@paulrickards/1101530344... about a device he makes.

It's a WiFi card that pretends to be a Hayes modem over an RS-232 serial connection.

In unrelated news, I have poor self-control, and a USB-to-serial cable.

2 years ago 2 0 1 1
Post image

Anyway, that's what I'll be posting about here (my other regularly-scheduled nonsense will be over at @str4d.xyz), so if you're interested, stick around!

I'd cap this thread off with a blue sky post, but we don't exactly get a whole lot of that here ๐Ÿ˜…

2 years ago 1 0 0 0

I fully expect that whatever LLVM backend I manage to get working will initially be dangerous for the hardware. So I am also trying to write a cycle-accurate 5150 emulator!

*immediately turns hardware project into software project*

2 years ago 1 0 2 0

In practice, there are a BUNCH of reasons why this probably won't work. Foremost is that Rust assumes a flat memory model, but the Intel 8086 uses a segmentation model that overlaps a 16-bit segment and offset to get a 20-bit address. We'll want more than 64 kiB of memory, so I guess we lie to Rust!

2 years ago 0 0 1 0
Post image

And what will I do with the machine? There's all the fun retro-computing stuff one could do, but I specifically want to run Rust code on an IBM 5150!

Shouldn't be too bad: add an Intel 8088 target to LLVM and Rust, compile some code, flash to a ROM, and done! Right? ๐Ÿซ 

2 years ago 2 0 1 0
Advertisement

Hello Bluesky! @str4d.xyz here. I hope you're all having a pleasant morning ๐Ÿ˜Š

Okay, what is this account about? Well, I've been looking for a hardware project for a while (wanting to get back into soldering), and decided I want to build an IBM 5150 clone.

2 years ago 4 2 1 0

0xFFFF0: JMP BLUESKY

3 years ago 0 0 0 0