IRC channel logs
2025-10-21.log
back to list of logs
<matrix_bridge><Jeremiah Orians> The PE file header was for UEFI but yeah, no issues if someone wants M2Libc/M2-Planet ported <matrix_bridge><Jeremiah Orians> The separation is to cover not all M0 and hex2 implementations written in hex behaving exactly the same <matrix_bridge><Andrius Štikonas> gtker: probably easier to explain "." here <matrix_bridge><Andrius Štikonas> "." is not M1 itself. "." is used in RISC-V version of hex2 and it is basically a "xor". <matrix_bridge><Andrius Štikonas> So we can have something like ".80080000 .00008003 13000000" <matrix_bridge><Andrius Štikonas> so everything with . is xored until we hit the word without . <matrix_bridge><Andrius Štikonas> but then RISC-V M1 code can be like "rd_a0 !-100 addi" <matrix_bridge><Andrius Štikonas> so "rd_a0" is ".80080000", "addi" is "13000000" <matrix_bridge><Andrius Štikonas> which means we can have a small number of risc-v defines <matrix_bridge><Andrius Štikonas> and don't need to add more to deal with new register/opcode/immediate combinations <matrix_bridge><Andrius Štikonas> slight disadvantage is that opcode has to go last <matrix_bridge><Andrius Štikonas> as it is the only guarantedd part of instruction <matrix_bridge><Andrius Štikonas> and also it makes hex2 code a bit more complicated