techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.7K
active users

#assembler

2 posts2 participants0 posts today
@Rp12Biker :verified:<p>Today, with an unusual follow-up project. This <a href="https://oldbytes.space/tags/Thomson" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Thomson</span></a> <a href="https://oldbytes.space/tags/TO7" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TO7</span></a>-70, sold almost exclusively in France, was donated to us almost fully equipped. Various cartridges including an <a href="https://oldbytes.space/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a>, floppy drive with controller, light pen, etc.<br>Unfortunately, the keyboard membrane was completely broken at the connectors, and all attempts with silver paint and conductive adhesive foil failed. And I couldn't find a replacement anywhere, so I bought a second, defective one in the hope that its membrane was still in working order :) And it is, keyboard fully functional.<br><a href="https://oldbytes.space/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://oldbytes.space/tags/France" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>France</span></a> <a href="https://oldbytes.space/tags/Tinkering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tinkering</span></a></p>
Wintermute_BBS<p><span class="h-card" translate="no"><a href="https://oldbytes.space/@rc2014" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>rc2014</span></a></span> <span class="h-card" translate="no"><a href="https://oldbytes.space/@electron_greg" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>electron_greg</span></a></span> back in school we had a special, modular custom-bus based <a href="https://oldbytes.space/tags/intel8085" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>intel8085</span></a> system to teach us about computers and programming.</p><p>It also had a switch panel and I fondly remember looking up opcodes in a photocopied table so that I knew which value to "toggle" next on the switches before writing it to a memory address. Hands on computing, the real way.</p><p>It was called <a href="https://oldbytes.space/tags/MFA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MFA</span></a> (microcomputer für ausbildung - microcomputer for training) and it also ran CP/M and featured a <a href="https://oldbytes.space/tags/Siemens" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Siemens</span></a> <a href="https://oldbytes.space/tags/SPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SPS</span></a> module (god, I hate SPS). </p><p>It was this system I learned <a href="https://oldbytes.space/tags/intel8085" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>intel8085</span></a> <a href="https://oldbytes.space/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> on.</p><p>P.S.: I guess this baby and the fond memory I have of it made me fall in love with <a href="https://oldbytes.space/tags/rc2014" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rc2014</span></a> decades later ...</p>
Nicolas MOUART-DAVID<p>C'est de l'<a href="https://mastodon.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> que je devrais apprendre, je ne suis pas du tout motivé.. Faire des jeux Nintendo 8-bit? Y en a qui le font ... Bref, <a href="https://mastodon.social/tags/COBOL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COBOL</span></a> est toujours utilisé, mais ça sent le piège, il faut du temps pour apprendre, s'investir, -comprendre-, et clairement l'industrie de la tech ne respecte plus cela..<br> <br><a href="https://mastodon.social/tags/emploi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emploi</span></a> <a href="https://mastodon.social/tags/programmation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programmation</span></a> <a href="https://mastodon.social/tags/d%C3%A9bouch%C3%A9" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>débouché</span></a></p>
Kevin Thomas ✅<p>Basic DLL for <a href="https://defcon.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> written in <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a> to help create your own dynamic linkable libraries and to help <a href="https://defcon.social/tags/ReverseEngineer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReverseEngineer</span></a> the process. <a href="https://github.com/mytechnotalent/UiDll" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mytechnotalent/UiDl</span><span class="invisible">l</span></a></p>
Brian Swetland<p>Writing some tests...</p><p><a href="https://chaos.social/tags/compiler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>compiler</span></a> <a href="https://chaos.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> <a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/preprocessor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>preprocessor</span></a></p>
Kevin Thomas ✅<p>From-scratch <a href="https://defcon.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a> with <a href="https://defcon.social/tags/DLL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DLL</span></a> creation. If you are looking to understand Windows Internals here is your entry point. <a href="https://defcon.social/tags/ReverseEngineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReverseEngineering</span></a> <a href="https://github.com/mytechnotalent/0x0001-ASM-Hello-World" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mytechnotalent/0x00</span><span class="invisible">01-ASM-Hello-World</span></a></p>
Brian Swetland<p>Hmmm.... maybe @ for "pc-relative address operator"....</p><p>previous instruction: -1@ <br>current instruction: 0@<br>next instruction: 1@</p><p>and so on... </p><p>Or any number of '&lt;'s or '&gt;'s to represent the address the instruction that many before or after...</p><p>li x3, 5<br>mul x5, x3, 10<br>stw x5, (x7)<br>subi x3, x3, 1<br>bnez x3, &lt;&lt;&lt;</p><p>(I probably could have already implemented local labels in the time I've been considering this)</p><p><a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> <a href="https://chaos.social/tags/syntax" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>syntax</span></a> <a href="https://chaos.social/tags/weird" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>weird</span></a></p>
Brian Swetland<p>Decision: Since I'm already depending on the existence of a C compiler to be able to build the stage0 transpiler and the softrisc32 emulator, the C preprocessor will serve as an adequate tool for generating test case boilerplate, etc, without requiring me to implement assembler macros or introduce further dependencies.</p><p><a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/compiler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>compiler</span></a> <a href="https://chaos.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a></p>
Brian Swetland<p>I think I always knew this, but a bit of research just now reminds me that gnu assembler tends to support *multiple* comment characters, which differ from target to target, and sometimes differ in behaviour depending on where they are horizontally, etc...</p><p>(gas 2.9.1 manual snippet included for reference)</p><p><a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/compiler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>compiler</span></a> <a href="https://chaos.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a></p>
Kevin Thomas ✅<p><a href="https://defcon.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> <a href="https://defcon.social/tags/x64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x64</span></a> <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a> with Visual Studio and <a href="https://defcon.social/tags/x64dbg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x64dbg</span></a> - this will help you get started on digging into Windows Internals</p>
pancake :radare2:<p>New entry for my assembler collection bookshelf <a href="https://infosec.exchange/tags/mainframe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mainframe</span></a> <a href="https://infosec.exchange/tags/mvs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mvs</span></a> <a href="https://infosec.exchange/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a></p>
Iggi<p>Session 1 and source code availble for the new <a href="https://mastodontech.de/tags/amiga" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amiga</span></a> <a href="https://mastodontech.de/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> baremetal 3D engine done by Proton/Komplex. Some polishing and documenting here an there but a solid foundation for a nice <a href="https://mastodontech.de/tags/opengl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opengl</span></a> like pipeline. <a href="https://github.com/slouko/Amiga-3D" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/slouko/Amiga-3D</span><span class="invisible"></span></a> Community contributions and support welcome. Share your benchmarks. Mine was taken on a <a href="https://mastodontech.de/tags/pistorm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pistorm</span></a> 32 with CM4. Also follow the twitch sessions on <a href="https://www.twitch.tv/videos/2493923994" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">twitch.tv/videos/2493923994</span><span class="invisible"></span></a></p>
Breathing Retro<p>And for those who are interested in how the original <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23arcade" target="_blank">#arcade</a> version of Space Invaders work, check out this <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23reverseengineering" target="_blank">#reverseengineering</a> project: <a href="https://computerarcheology.com/Arcade/SpaceInvaders/" rel="nofollow noopener" target="_blank">computerarcheology.com/Arcade/Space...</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23retrodev" target="_blank">#retrodev</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23retrogaming" target="_blank">#retrogaming</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23assembler" target="_blank">#assembler</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23coding" target="_blank">#coding</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23programming" target="_blank">#programming</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23gamedev" target="_blank">#gamedev</a><span class="quote-inline"><br><br>RE: <a href="https://bsky.app/profile/did:plc:io6owsze2yxsfsl2cd7znmik/post/3lrxu7v3lgk2h" rel="nofollow noopener" target="_blank">https://bsky.app/profile/did:plc:io6owsze2yxsfsl2cd7znmik/post/3lrxu7v3lgk2h</a></span><br><br><a href="https://computerarcheology.com/Arcade/SpaceInvaders/" rel="nofollow noopener" target="_blank">Space Invaders</a></p>
Kevin Thomas ✅<p>I am ALL for <a href="https://defcon.social/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> and <a href="https://defcon.social/tags/Claude" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Claude</span></a> and <a href="https://defcon.social/tags/GPT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GPT</span></a>, etc. I do however, in my free time outside of work, school and creating STEM tutorials to help the next generation, believe that spending time in pure <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a> in a bare-metal <a href="https://defcon.social/tags/Embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Embedded</span></a> <a href="https://defcon.social/tags/microcontroller" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microcontroller</span></a> will help you understand <a href="https://defcon.social/tags/Computer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Computer</span></a> <a href="https://defcon.social/tags/Science" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Science</span></a> in a way that can help you drive the future in <a href="https://defcon.social/tags/technology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>technology</span></a>. I have and will continue to post pure Assembler drivers to help others achieve this utilizing <a href="https://defcon.social/tags/Arduino" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arduino</span></a> and <a href="https://defcon.social/tags/STM32" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STM32</span></a> products.</p>
Kevin Thomas ✅<p>An ATmega328P blink driver written entirely in <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a>. If you are looking to learn <a href="https://defcon.social/tags/Embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Embedded</span></a> Assembler with a simple <a href="https://defcon.social/tags/Arduino" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arduino</span></a>, this is your guide! <a href="https://github.com/mytechnotalent/ATmega328P_Blink_Driver" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mytechnotalent/ATme</span><span class="invisible">ga328P_Blink_Driver</span></a></p>
Klaus Aschenbrenner<p>There was a lot of troubleshooting involved, but I can finally execute Rust written User Mode programs in my x64 based bare metal OS, which interact through INT 0x80 with the C written OS Kernel. <a href="https://mas.to/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://mas.to/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mas.to/tags/osdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>osdev</span></a> <a href="https://mas.to/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> <a href="https://mas.to/tags/lowlevel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lowlevel</span></a></p>
Radio Azureus<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> <br>Compilation is supposed to longer than execution </p><p><a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> <a href="https://mastodon.social/tags/linking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linking</span></a> <a href="https://mastodon.social/tags/compilation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>compilation</span></a> <a href="https://mastodon.social/tags/a_out" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a_out</span></a></p>
Breathing Retro<p>Desolate -- game from TI-83 Plus <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23calculator" target="_blank">#calculator</a> with a port for <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23ZXSpectrum" target="_blank">#ZXSpectrum</a> <a href="https://github.com/nzeemin/spectrum-desolate" rel="nofollow noopener" target="_blank">github.com/nzeemin/spec...</a> There is also a project to port it to <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23Arduboy" target="_blank">#Arduboy</a> <a href="https://community.arduboy.com/t/wip-desolate-a-remake-of-the-ti-83-plus-game/" rel="nofollow noopener" target="_blank">community.arduboy.com/t/wip-desola...</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23retrodev" target="_blank">#retrodev</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23retrogaming" target="_blank">#retrogaming</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23retrocomputing" target="_blank">#retrocomputing</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23homebrew" target="_blank">#homebrew</a> <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23assembler" target="_blank">#assembler</a></p>
Kevin Thomas ✅<p>An <a href="https://defcon.social/tags/STM32F4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STM32F4</span></a>, <a href="https://defcon.social/tags/RYLR998" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RYLR998</span></a> <a href="https://defcon.social/tags/LoRa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LoRa</span></a> <a href="https://defcon.social/tags/UART" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UART</span></a> driver written entirely in <a href="https://defcon.social/tags/Assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assembler</span></a>. <a href="https://github.com/mytechnotalent/STM32F4_LoRa_UART_Driver" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mytechnotalent/STM3</span><span class="invisible">2F4_LoRa_UART_Driver</span></a></p>
Felix Palmen :freebsd: :c64:<p>I recently took a dive into <a href="https://mastodon.bsd.cafe/tags/C11" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C11</span></a> <a href="https://mastodon.bsd.cafe/tags/atomics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atomics</span></a> to come up with alternative queue implementations not requiring locking some <a href="https://mastodon.bsd.cafe/tags/mutex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutex</span></a>.</p><p>TBH, I have a hard time understanding the <a href="https://mastodon.bsd.cafe/tags/memory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memory</span></a> <a href="https://mastodon.bsd.cafe/tags/ordering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ordering</span></a> constraints defined by C11. I mean, I code <a href="https://mastodon.bsd.cafe/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> on a <a href="https://mastodon.bsd.cafe/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> (for the <a href="https://mastodon.bsd.cafe/tags/c64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c64</span></a>), so caches, pipelines and all that modern crap is kind of alien rocket science anyways 😆.</p><p>But seriously, they try to abstract from what the hardware provides (different kinds of memory barrier instructions, IMHO somewhat easier to understand), so the compiler can pick the appropriate one depending on the target CPU. But wrapping your head around their definition really hurts the brain 🙈.</p><p>Yesterday, I found a source telling me that <a href="https://mastodon.bsd.cafe/tags/amd64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amd64</span></a> (or <a href="https://mastodon.bsd.cafe/tags/x86" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x86</span></a> in general?) always has strong ordering for reads, so no matter which oderding constraint you put in your atomic_load and friends, the compiler will generate the same code and it will work. Oh boy, how should I ever verify my code works on e.g. aarch64 without owning such hardware?</p>