Message from @M4Gunner

Discord ID: 488754834111987714


2018-09-10 16:48:15 UTC  

zC6 is a fictional CPU with 36 instructions

2018-09-10 16:48:50 UTC  

cant you pare it down to 12 or 14? 😄

2018-09-10 16:49:33 UTC  

I could, but I'm leaving it at 36 to make it both fairly good with performance and easier to work with

2018-09-10 16:49:58 UTC  

the original, zC5 had way more instructions, zC6 uses a more advanced target system

2018-09-10 16:50:17 UTC  

it only exists on paper then?

2018-09-10 16:50:46 UTC  

well, it exists both on paper and has a prototype emulator which I'm about to rewrite in another language

2018-09-10 16:51:25 UTC  

cool

2018-09-10 16:51:30 UTC  

i hope it sees combat

2018-09-10 16:51:38 UTC  

;P thanks

2018-09-10 16:53:30 UTC  

36 isntructions, does that make it RISC?

2018-09-10 16:53:53 UTC  

tricky question. compared to x86, yes, it's RISC

2018-09-10 16:53:58 UTC  

compared to ARM, no, it's CISC

2018-09-10 16:54:09 UTC  

x86 literally has two books worth of instructions

2018-09-10 16:54:21 UTC  

ARM has very few

2018-09-10 16:54:31 UTC  

MISC -- Medium Instruction Set Computer

2018-09-10 16:54:38 UTC  

haha

2018-09-10 16:54:45 UTC  

well

2018-09-10 16:55:57 UTC  

know what PowerISA stands for if you unpack the nested acronyms?

2018-09-10 16:56:02 UTC  

Performance Optimized With Enhanced Reduced Instruction Set Computer Instruction Set Architecture

2018-09-10 16:56:52 UTC  

as far as the actual design in real life, it would be pretty complicated. the CPU has a built in threading-esque system that requires a fairly large built in storage device for switching between atleast 1024 register groups (each execution range is allocated 64 internal registers and full access to RAM), which means you'd need a 64 kB cache built into the CPU just for switching code range instances

2018-09-10 16:57:13 UTC  

will it run TempleOS?

2018-09-10 16:57:15 UTC  

yes

2018-09-10 16:57:20 UTC  

i will work on a port

2018-09-10 16:57:20 UTC  

thank god

2018-09-10 16:57:23 UTC  

literally

2018-09-10 16:57:25 UTC  

yes

2018-09-10 16:57:40 UTC  

well

2018-09-10 16:57:59 UTC  

@meratrix get bent by this assembly

2018-09-10 16:58:07 UTC  

how hard will it be to port doom over?

2018-09-10 16:58:29 UTC  

(and does TempleOS even run Doom??)

2018-09-10 16:58:31 UTC  

i was going to before terry died mainly because I was hoping that, at some point, I could put in a request to make compatibility with zC6's radically different component bus system

2018-09-10 16:59:13 UTC  

the problem is that templeos is exclusively x86 and uses the x86 style of I/O

2018-09-10 16:59:59 UTC  

@Deleted User is that ARM?

2018-09-10 17:00:32 UTC  

zC6 just sends requests to an output queue which is read by a device (hopefully on a zC6 computer's motherboard) called the component bus, which handles device identification and labelled device requests

2018-09-10 17:00:45 UTC  

@M4Gunner it's MIPS so it's RISC

2018-09-10 17:01:07 UTC  

wow MIPS

2018-09-10 17:01:53 UTC  

do you work with MIPS alot or are you just studying

2018-09-10 17:02:00 UTC  

for example, to output to the terminal, you send `0x02` (tells component bus to send data to another device) and then `0x00` (the standard ID for the terminal) and then whatever data the device accepts for input, in this case a single ASCII code point. to send another character, you have to repeat the first two outputs

2018-09-10 17:03:58 UTC  

``` Standard registration order:
ID 0: Terminal/Serial output (first)
ID 1: Graphical display
ID 2: Static data storage device (e.g Hard Drive)
ID 3: Keyboard input device
ID 4: Pointer input device```

2018-09-10 17:04:26 UTC  

consumer grade or niche?

2018-09-10 17:04:41 UTC  

whats the cpu supposed to cost