Timeline for Shortest infinite loop producing no output
Current License: CC BY-SA 3.0
21 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | Community Bot |
Commonmark migration
|
|
| S Apr 11, 2016 at 16:32 | history | suggested | Erik the Outgolfer | CC BY-SA 3.0 |
removed unneeded <s>Assembly</s>
|
| Apr 11, 2016 at 15:45 | review | Suggested edits | |||
| S Apr 11, 2016 at 16:32 | |||||
| Oct 11, 2015 at 6:56 | comment | added | Dewi Morgan |
Back in the day, a particularly nasty "trick" (imho vandalism) that customers would play on unsuspecting computer store owners was to place two bytes akin to this but for the X86, at the beginning of the bootloader, using DOS' debug. This would effectively brick the machine, and most shop staff lacked the nous to know it wasn't just a dead drive.
|
|
| Oct 7, 2015 at 13:10 | comment | added | Damian Yerrick | @steveverrill This is machine code for any 6502 machine that guarantees carry is clear at program start. The C64 OS specifies this, but machines that leave this unspecified need an additional CLC opcode (18ドル) at start for a 1-byte penalty. | |
| Oct 5, 2015 at 20:15 | comment | added | psmears | @Random832: Actually some of the later 6502 descendants did have an unconditional branch instruction (BRA, 0x80) - see for example this page (search for "BRA"). | |
| Oct 4, 2015 at 18:27 | history | edited | James King | CC BY-SA 3.0 |
deleted 8 characters in body
|
| Oct 3, 2015 at 20:54 | comment | added | ETHproductions |
It takes a minute after it's submitted to show up/update. I've changed the formatting slightly; hopefully it's better now. Also, if you want to have an actual strikethrough through the word "Assembly", you can just use <s>Assembly</s>.
|
|
| Oct 3, 2015 at 19:32 | history | edited | James King | CC BY-SA 3.0 |
Added a link to an original, scanned reference manual
|
| Oct 3, 2015 at 19:16 | comment | added | James King | It wasn't showing up, thought maybe I misunderstood what I was supposed to do with that snippet :) Already removed, and I'm showing up now... though the format of the results is terrible in both fx and ie | |
| Oct 3, 2015 at 19:10 | history | edited | James King | CC BY-SA 3.0 |
Trying to add the indicated snippet
|
| Oct 3, 2015 at 19:08 | history | edited | James King | CC BY-SA 3.0 |
Trying to add the indicated snippet
|
| Oct 3, 2015 at 17:35 | history | edited | James King | CC BY-SA 3.0 |
added 28 characters in body
|
| Oct 3, 2015 at 17:32 | comment | added | James King | Steveverrill, touché, it is machine code, indeed. And yes, I thought more people would recognize the Commodore 64 than the 65xx family in general :) The VIC-20 used the 6502 and would have been able to run this. So, technically, would my 1541 floppy drive... I vaguely recall being able to reprogram the controller on that. Ah, I still miss my C64 :) | |
| Oct 3, 2015 at 17:18 | comment | added | James King | Ya, what Random832 said... I had thought there might be an unconditional branch, but when I checked my (old, old, cracked-plastic-binder) reference manual, there was not. EB was "reserved for future expansion", though, so maybe that was added in to a later version of the chip. | |
| Oct 2, 2015 at 22:21 | comment | added | Random832 | @user45891 EB FE is x86. 6502/6510 doesn't have an unconditional short jump instruction. | |
| Oct 2, 2015 at 20:40 | comment | added | Knetic | +1 for making an actual program that is small, instead of trying to find the most obscure language that just so happens to have the least characters to represent the structure. | |
| Oct 2, 2015 at 19:54 | comment | added | Level River St |
Shouldn't this work on any machine with a 6502 / 6510 family processor, not just a C64? Also, what you've written is machine code. The assembly would be BNE -2
|
|
| Oct 2, 2015 at 19:47 | comment | added | user45891 | Or EB FE for the unconditional jump | |
| Oct 2, 2015 at 18:59 | review | First posts | |||
| Oct 2, 2015 at 19:30 | |||||
| Oct 2, 2015 at 18:47 | history | answered | James King | CC BY-SA 3.0 |