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.6K
active users

#mos6502

0 posts0 participants0 posts today
EdS<p>@hjalfi posted a nice video (and repo) reverse-engineering a tiny console game thing, which turns out to be 6502 based, with a tiny RAM and small ROM, with lots of paging from a large EEPROM.</p><p><a href="https://www.youtube.com/watch?v=jJ0XmZvR4bU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=jJ0XmZvR4bU</span><span class="invisible"></span></a></p><p><a href="https://mathstodon.xyz/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://mathstodon.xyz/tags/retroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retroComputing</span></a></p>
0x10f<p><span class="h-card" translate="no"><a href="https://digipres.club/@foone" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>foone</span></a></span> The instruction set is unorthogonal (which makes programming more fun):<br>- conditional jumps must be program counter relative but unconditional jumps can't be<br>- you can't increment or decrement the accumulator<br>- you can't copy from one index register to another<br>- BIT has no immediate addressing mode<br>- no instruction has all the direct indexed addressing modes (absolute,x, zeroPage,x, absolute,y and zeroPage,y): some have the first three, some have the first two, LDX has the last two, STX has the last one, STY has the second one, CPX and CPY have none<br>- the only indirect addressing modes are the 16-bit indirect, (zeroPage,x) and (zeroPage),y; the first can only be used with JMP and the last two with only a few instructions<br>- no arithmetic shift right (logical only)<br>- no 8-bit rotations (9-bit only)<br>(Someone said the second index register in the 6502 was an afterthought which would make sense.)<br><a href="https://tech.lgbt/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a></p>
Jason Weatherly<p>Hrmm, I think I'm going to do a bit of work on the MOS6502 emulator. I still need to implement interrupts and get those ironed out. Not 100% sure how I want to do it, but figure it shouldn't be too horrible. Also, I improved the docs as well because I couldn't remember how to compile the assembly code...lol</p><p><a href="https://github.com/JamesTheBard/mos6502" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/JamesTheBard/mos650</span><span class="invisible">2</span></a></p><p><a href="https://social.linux.pizza/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://social.linux.pizza/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://social.linux.pizza/tags/emulation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emulation</span></a> <a href="https://social.linux.pizza/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Jason Weatherly<p>AHAHAHA COME AT ME AI</p><p><a href="https://social.linux.pizza/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://social.linux.pizza/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://social.linux.pizza/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://social.linux.pizza/tags/assembly" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembly</span></a></p>
Blake Patterson<p>Elements by Desire (Atari Lynx demo) 1080p60</p><p><a href="https://www.youtube.com/watch?v=jyhoSRBjHkE" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=jyhoSRBjHk</span><span class="invisible">E</span></a></p><p><a href="https://oldbytes.space/tags/Atari" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Atari</span></a> <a href="https://oldbytes.space/tags/AtarLynx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AtarLynx</span></a> <a href="https://oldbytes.space/tags/Lynx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lynx</span></a> <a href="https://oldbytes.space/tags/demo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demo</span></a> <a href="https://oldbytes.space/tags/scenedemo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scenedemo</span></a> <a href="https://oldbytes.space/tags/demoscene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demoscene</span></a> <a href="https://oldbytes.space/tags/retrogaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrogaming</span></a> <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/vintagecomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vintagecomputing</span></a> <a href="https://oldbytes.space/tags/video" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>video</span></a> <a href="https://oldbytes.space/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a> <a href="https://oldbytes.space/tags/Epyx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Epyx</span></a> <a href="https://oldbytes.space/tags/mobilegaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mobilegaming</span></a></p>
Bread80<p>Adding write support to the <a href="https://mstdn.social/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> in the simulator and <a href="https://mstdn.social/tags/CPC_ZERO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPC_ZERO</span></a>. The SYS register uses a '174. The clock pulse, to latch the data, could, naively, be driven by a write signal generated by PHI and RWB and gated by ~IO_SEL from the address decoder.</p><p>But the 6502 de-asserts RWB at the same moment it releases the data bus. Gate delays would mean the clock pulse arriving after the data bus has been released. Bus capacitance could make this work in the real world but I want proper validation. 1/n</p>
Marc<p>This book has just arrived. Let's see what all the fuss is about and whether the <a href="https://mastodon.xyz/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> or the <a href="https://mastodon.xyz/tags/z80" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>z80</span></a> is the better CPU... 😉</p>
Felix Palmen :freebsd: :c64:<p><span class="h-card" translate="no"><a href="https://polymaths.social/@dendrobatus_azureus" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dendrobatus_azureus</span></a></span> <span class="h-card" translate="no"><a href="https://polymaths.social/@sotolf" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>sotolf</span></a></span> It's <a href="https://mastodon.bsd.cafe/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a> assembly, and assuming a <a href="https://mastodon.bsd.cafe/tags/C64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C64</span></a>, it jumps right in the middle of some hw init routine, writing a CIA register with whatever the accumulator currently holds .... and THEN causes a software interrupt, which was typically only used for patching (non electrically-erasable) ROM?* 🤔 </p><p>Ok, just in case I miss something obvious: Is this code supposed to make any sense? 😆</p><p>* could be used for poor-man's syscalls / context switching, but I guess that's not contemporary style 😏</p>
root42<p>Five minutes until we code some <a href="https://chaos.social/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> assembly! Wait... I can't code 6502? Oh, never mind! We'll try anyway!</p>
Bread80<p>Old school DRAMs have a lot of timing requirements. I’ve been validating output from the <a href="https://mstdn.social/tags/CPCZERO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPCZERO</span></a> sequencer prototype against them - and everything checks out 🙂</p><p>Comments in my notes are where the timings depend on other components, such as the multiplexers.</p><p><a href="https://mstdn.social/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://mstdn.social/tags/Homebrewcomputer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Homebrewcomputer</span></a> <a href="https://mstdn.social/tags/amstrad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amstrad</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>
RetroComputingMX<p>¡El MOS Technology KIM-1 (1976) fue la pequeña gran máquina que democratizó la computación! 💻 Basado en el 6502, este kit accesible fue la puerta de entrada para miles de programadores y sentó las bases de la era de las PCs. <a href="https://mastodon.social/tags/retrocomputingmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputingmx</span></a> <a href="https://mastodon.social/tags/Kim1" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kim1</span></a> <a href="https://mastodon.social/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a> <a href="https://mastodon.social/tags/efem%C3%A9ridestecnologica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>efeméridestecnologica</span></a><br><a href="https://retrocomputingmx.com/tdxk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">retrocomputingmx.com/tdxk</span><span class="invisible"></span></a></p>
oric_iss<p>I've just published the sources for <a href="https://mastodon.social/tags/QR_code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QR_code</span></a> generator adapted and optimized <a href="https://mastodon.social/tags/Oric" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Oric</span></a>,<a href="https://mastodon.social/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a>. Original code by: <span class="h-card" translate="no"><a href="https://mastodon.social/@the8bittheory" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>the8bittheory</span></a></span>. <br>LINK: 😎<a href="https://github.com/iss000/oricOpenLibrary/tree/main/lib-qrcode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/iss000/oricOpenLibr</span><span class="invisible">ary/tree/main/lib-qrcode</span></a></p>
André Fachat<p>What started out as a repair video for a broken PET 3032 became a video on repairing two PET keyboards first: <a href="https://youtu.be/bPpjxiyjXZ8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/bPpjxiyjXZ8</span><span class="invisible"></span></a> (the rest of the repair is to follow)<br><a href="https://mastodon.online/tags/8bit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>8bit</span></a> <a href="https://mastodon.online/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://mastodon.online/tags/commodore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodore</span></a> <a href="https://mastodon.online/tags/commodorepet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorepet</span></a></p>
The Oasis BBS<p>Idun-Cartridge Connects C128 to Raspberry Pi<br /><a href="https://techhub.social/tags/Commodore128" class="mention hashtag" rel="tag">#<span>Commodore128</span></a> <a href="https://techhub.social/tags/C64" class="mention hashtag" rel="tag">#<span>C64</span></a> <a href="https://techhub.social/tags/RaspberryPi" class="mention hashtag" rel="tag">#<span>RaspberryPi</span></a> <a href="https://techhub.social/tags/RetroComputing" class="mention hashtag" rel="tag">#<span>RetroComputing</span></a> <a href="https://techhub.social/tags/IdunCartridge" class="mention hashtag" rel="tag">#<span>IdunCartridge</span></a> <a href="https://techhub.social/tags/8BitComputing" class="mention hashtag" rel="tag">#<span>8BitComputing</span></a> <a href="https://techhub.social/tags/MOS6502" class="mention hashtag" rel="tag">#<span>MOS6502</span></a> <a href="https://techhub.social/tags/C64Development" class="mention hashtag" rel="tag">#<span>C64Development</span></a> <a href="https://techhub.social/tags/BBS" class="mention hashtag" rel="tag">#<span>BBS</span></a> <a href="https://techhub.social/tags/SIDMusic" class="mention hashtag" rel="tag">#<span>SIDMusic</span></a><br /><a href="https://theoasisbbs.com/idun-cartridge-connects-c128-to-raspberry-pi/?feed_id=3280&amp;_unique_id=68234662b6d62" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">theoasisbbs.com/idun-cartridge</span><span class="invisible">-connects-c128-to-raspberry-pi/?feed_id=3280&amp;_unique_id=68234662b6d62</span></a></p>
pagetable<p>6502 Illegal Opcodes in the Siemens PC 100 Assembly Manual (1980)<br><a href="https://www.pagetable.com/?p=1798" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">pagetable.com/?p=1798</span><span class="invisible"></span></a><br><a href="https://mastodon.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://mastodon.social/tags/aim65" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aim65</span></a> <a href="https://mastodon.social/tags/siemens" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>siemens</span></a> <a href="https://mastodon.social/tags/pc100" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pc100</span></a> <a href="https://mastodon.social/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a></p>
oric_iss<p><a href="https://mastodon.social/tags/QR_code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QR_code</span></a> generation on <a href="https://mastodon.social/tags/ORIC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ORIC</span></a> <a href="https://mastodon.social/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a> in just 50 milliseconds (screen drawing included)!😎</p>
Behind The Console<p>Vorbereitung für das <a href="https://podcasts.social/tags/VCFe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VCFe</span></a>. Ein paar Give-aways für die Führung in der <a href="https://podcasts.social/tags/datArena" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datArena</span></a>. <a href="https://podcasts.social/tags/MOS6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MOS6502</span></a> <a href="https://podcasts.social/tags/vintagecomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vintagecomputing</span></a> <a href="https://podcasts.social/tags/vclab" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vclab</span></a></p>
𝚜𝚞𝚣𝚊<p>München? Wenn dir dieses Schild begegnet, fahr nicht einfach vorbei. Da lang geht´s ins Vintage Computer Paradies! VCFe this weekend!</p><p>Also: abbiegen, Vorfahrt gewähren, und dann straight zurück in die Zukunft, äh, Vergangenheit!</p><p><a href="https://mastodon.social/tags/VCFe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VCFe</span></a> <a href="https://mastodon.social/tags/vcfe24" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vcfe24</span></a> <a href="https://mastodon.social/tags/VintageComputerFestival" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageComputerFestival</span></a> <a href="https://mastodon.social/tags/M%C3%BCnchen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>München</span></a> <a href="https://mastodon.social/tags/6502Forever" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>6502Forever</span></a> <a href="https://mastodon.social/tags/RetroLove" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroLove</span></a> <a href="https://mastodon.social/tags/Commodore64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Commodore64</span></a> <a href="https://mastodon.social/tags/commodorepet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commodorepet</span></a> <a href="https://mastodon.social/tags/Amiga" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Amiga</span></a> <a href="https://mastodon.social/tags/atari800" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atari800</span></a> <a href="https://mastodon.social/tags/apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apple</span></a> <a href="https://mastodon.social/tags/FloppyPower" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FloppyPower</span></a> <a href="https://mastodon.social/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> <a href="https://mastodon.social/tags/OldButGold" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OldButGold</span></a> <a href="https://mastodon.social/tags/HackThePast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackThePast</span></a> <a href="https://mastodon.social/tags/MuseumZumMitnehmen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MuseumZumMitnehmen</span></a></p>
The Oasis BBS<p>Building a Commodore 64 from Scratch: No 6510, VIC-II, or SID<br /><a href="https://techhub.social/tags/Commodore64" class="mention hashtag" rel="tag">#<span>Commodore64</span></a> <a href="https://techhub.social/tags/RetroComputing" class="mention hashtag" rel="tag">#<span>RetroComputing</span></a> <a href="https://techhub.social/tags/Electronics" class="mention hashtag" rel="tag">#<span>Electronics</span></a> <a href="https://techhub.social/tags/HomebrewComputer" class="mention hashtag" rel="tag">#<span>HomebrewComputer</span></a> <a href="https://techhub.social/tags/C64" class="mention hashtag" rel="tag">#<span>C64</span></a> <a href="https://techhub.social/tags/MOS6502" class="mention hashtag" rel="tag">#<span>MOS6502</span></a> <a href="https://techhub.social/tags/DIYComputer" class="mention hashtag" rel="tag">#<span>DIYComputer</span></a> <a href="https://techhub.social/tags/EPROM" class="mention hashtag" rel="tag">#<span>EPROM</span></a> <a href="https://techhub.social/tags/StaticRAM" class="mention hashtag" rel="tag">#<span>StaticRAM</span></a> <a href="https://techhub.social/tags/SBC" class="mention hashtag" rel="tag">#<span>SBC</span></a> <br /><a href="https://theoasisbbs.com/building-a-commodore-64-from-scratch-no-6510-vic-ii-or-sid/?feed_id=3030&amp;_unique_id=680f8105d4f99" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">theoasisbbs.com/building-a-com</span><span class="invisible">modore-64-from-scratch-no-6510-vic-ii-or-sid/?feed_id=3030&amp;_unique_id=680f8105d4f99</span></a></p>