Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

kdrnic

@kdrnic@dosgame.club
mastodon 4.7.3
  • Open on dosgame.club

My main interests include retro games, game development, and programming in C; sometimes those combine into retro game development in C.

I am also interested in electronics, but am not as knowledgeable.

Lesser interests include some (very) basic woodworking and astronomy, (very) limited by equipment and location.

I don't do any of those things professionally, they are only a hobby to me.

47 Followers
33 Following
7 Posts
Joined April 27, 2022
Website:
https://kdrnic.github.io/
Open post
kdrnic @kdrnic@dosgame.club
· 2w ago
my #electronics experiment this sunday didn't work just connecting a 16x02 LCD to arduino very frustrating as it took some amount of time to solder I tried checking connections and jumpers with multimeter powering arduino from USB, from 4xAA, and from 9V battery changing Arduino pins
5
1
2
0
Open post
kdrnic @kdrnic@dosgame.club
· 5mo ago

A simple and complex thing at the same time: Bresenham's line algorithm (drawing 10k lines), coded in C, compiled with my own C compiler (I call it kdrniccc), assembled with nasm, linked with DJGPP's linker, running on an emulated 386, through DOSBox-X

I estimate the "fill rate" at 15 kilopixels / second

(avg. line = (320^2-1)/(320*3) pixels long)*(10000 lines)/(1min10 = 70 seconds)

32
8
9
0
Open post
kdrnic @kdrnic@dosgame.club
· 5mo ago

Another #electronics experiment: a delay line oscillator.

It is built around a Philips luminance delay line from a scrapped television.

It is essentially a mini transmission line, with a delay of 330n and Z=1000 ohms.

It works well, but I expected a frequency near 1/(330nano*2)=1515kHz, and I am getting 1049kHz instead. It is quite stable. Heated with a 600W hairdryer for 1 minute it went up to 1100kHz.

dosgame.club

DOS Game Club Mastodon

5
1
2
0
Open post
kdrnic @kdrnic@dosgame.club
· 5mo ago
Replying to
@wesbat@dosgame.club writing a compiler has been challenging but doable and interesting, there are good compiler textbooks. I keep a diary of this project, it took 41 coding sessions (longish ones) to get to this point. it would have been easier, but less interesting (which can kill a hobby project) to target something else other than C99
1
0
0
0
Open post
kdrnic @kdrnic@dosgame.club
· 5mo ago
Replying to
@anji@metalhead.club this could be much faster still, the generated assembly makes heavy use of the stack (unnecessarily), could be sped up by a factor of maybe 10X?
1
0
0
0
Open post
kdrnic @kdrnic@dosgame.club
· 2w ago
Replying to
@RueNahcMohr@infosec.exchange I accept suggestions on debugging this, I am really out of ideas
0
1
0
0
Open post
kdrnic @kdrnic@dosgame.club
· 5mo ago
Replying to
@ivor@social.ivor.org I am also learning x86 assembly better, along with making this, had some bugs with mixing unsigned/signed operations (DIVs, CMPs)
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 10:53:22 UTC