[ / / / / / / / / / / / / / ] [ dir / asmr / ausneets / doomer / sonyeon / thesewer / vg / vichan / wmafsex ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

-- . .-. .-. -.-- / -.-. .... .-. .. ... - -- .- ... ---.

File (hide): ec7ab05be4217d1⋯.jpg (19.57 KB, 790x287, 790:287, MOS_6502AD_4585_top.jpg) (h) (u)

[–]

 No.1004333>>1004346 >>1004405 >>1005361 [Watch Thread][Show All Posts]

Let's discuss the greatest processor of all time.

https://en.wikibooks.org/wiki/6502_Assembly

 No.1004340

Doesn't look like the AMD am29k.


 No.1004346

>>1004333 (OP)

Recently finished implementing one on an FPGA (with accurate cycle lengths) the state machine for the control unit was a lot of fun build. The instruction set is very small, but it has a complex set of addressing modes. Perhaps I'll do an AoC challenge in 6502.


 No.1004405

>>1004333 (OP)

>Let's discuss

Do you have anything to add? Linking to a wikipedia article makes for a very shitty thread.


 No.1004558

File (hide): baffff30c908b4c⋯.jpg (373.66 KB, 1024x640, 8:5, Simon6809_top.jpg) (h) (u)

As a 6502 programmer for 30+ years, I'm amazed that the 6809 was that unpopular. An 8 bit CPU that could do PIC, and a sinch to do relatively sophisticated operating systems on? ..but only got used in shit-tier micros like the Dragon and CoCo?


 No.1004616

Haven't touched the family outside of the nes/snes/2600, but you have a couple sbc options nowadays:

https://wdc65xx.com/boards/w65c02sxb-engineering-development-system/

https://wdc65xx.com/boards/w65c816sxb-engineering-development-system/


 No.1004767>>1005078 >>1005095 >>1005119

File (hide): 979788cbcedaa74⋯.jpg (40.87 KB, 1280x781, 1280:781, KL_Intel_P8051.jpg) (h) (u)

>greatest processor of all time

>not 8051


 No.1005078>>1005123

>>1004767

definitely not the 8051


 No.1005095>>1005123

>>1004767

OY VEY


 No.1005119>>1005123

>>1004767

>the greatest 8051

gnoo

>not MC680XX

en.wikipedia.org/wiki/Motorola_68000


 No.1005123

>>1005119

>>1005095

>>1005078

Plebs that don't know how to code efficiently detected

Although that motorola is pretty cute I have to say


 No.1005361>>1005365 >>1005390

>>1004333 (OP)

> the greatest processor of all time

Isn't it literally possible to fry the chip through software by accessing certain undocumented registers through a couple POKEs?


 No.1005365>>1005390

>>1005361

The only examples I could find were the Commodore PET being able to fry its CRT and the 1571 disk drive being able to be fucked by a wrong command. Both use the 6502 in some form, but I couldn't find anything on the CPU being able to self destruct.

In the other hand, system like the Xbox 360 and up have special circuits built into the chips that allow them to brick themselves or block certain firmware from loading. Efuses are a bitch.


 No.1005390

>>1005361

>>1005365

These bugs in pet and disk drive are in their kernel (or kernal as Commodore called it), not in the cpu. The cpu has a couple of interesting bugs though, some of which are even useful.

Indirect jump doesn't read next address byte from another page correctly, for example

jmp ($10ff) should read the address from 10ff 1100 but it doesn't add carry to MSB so it's 10ff 1000

inc will store the value twice. First the original value then the incremented one like this

read memory

inc

store original

store incremented memory

from programming perspective it doesn't make any difference but MMIO will see 2 writes and it might be used for something.


 No.1005418

and of course the illegal opcodes... Some of them are so useful I use them all the time, for example lax and sax. Load to register a and x at the same time and store both a and x to memory (Anding a x)

sbx to subtract from x while ignoring carry flag


 No.1009290>>1013738

A processor is evaluated in terms of practicality of instructions, number of accumulator records, records of operations, indexes records and CPU usage cycles to perform an operation. For example: in the time of 6502 was the z80 as a direct competitor. While the 6502 was running at 1MHZ, the Z80 was running at 4MHZ. But the Z80 needed 4 clock cycles to read an instruction the 6502 did in 1 cycle. Almost like a RISK but in the 70s. The 6502 allowed the processes to be carried out by the perispherical processors. the Z80 had to do them all! That made the 6502 somehow more powerful than the Z80. The same thing always depends on the ability of the programmer to take advantage of the power of the processor. Today we have microprocessors that run to thousands of MHZs but even so, the programs are STUPIDLY slow. And that is not related to the predator but with the STUPID level of programmers that we have today ... I'm sorry for you assholes! (The problem is that we have more JAVA programmers than Programmers in assembler or C!) (Hold Arjona!)

 


 No.1013738

>>1009290

I can't shake the feeling that its not "just" the programmers. I think x86-like arches have enabled programmers alot for the sake of compatibility and their way of programming.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
16 replies | 2 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / asmr / ausneets / doomer / sonyeon / thesewer / vg / vichan / wmafsex ][ watchlist ]