Using modern technology, you can write a C Windows application that runs on Wine that runs on Linux that runs on QEMU running on WASM inside a web browser running on macOS that runs on a virtual machine controlled by a Linux hypervisor. Even the individual instructions sent to the CPU are decoded by a layer of software that rewrites and reorders them inside the CPU. The CPU that may very well contain a smaller Pentium CPU running Minix to maintain operation of the rest of the CPU.
Software lunacy has made low/high-level programming languages obsolete. Everything can be distilled into Javascript runtimes, nothing is a real programming language anymore.
Can you just drop to assembly for what you want to do?
Gnu compilers even have inline assembly, but with any compiler you should at least be able to built a separate, assembly, object file.
I can and have, and it’s still a tremendous pain in the ass to launder the addresses for labels. The hottest loop in the game draws an arbitrary span of the same tile. It should be trivial to do a jump table - to grab an address from an array and go there. 13 tiles? goto jump[13]. (Or really some stack / return shenanigans, because the 6502 is odd.) But if there’s any way to get cc65 to shove the location of an instruction into an array, I haven’t found it.
deleted by creator
idk it seem nobody has an answer. Can we just call it “mid-level”?
Using modern technology, you can write a C Windows application that runs on Wine that runs on Linux that runs on QEMU running on WASM inside a web browser running on macOS that runs on a virtual machine controlled by a Linux hypervisor. Even the individual instructions sent to the CPU are decoded by a layer of software that rewrites and reorders them inside the CPU. The CPU that may very well contain a smaller Pentium CPU running Minix to maintain operation of the rest of the CPU.
Software lunacy has made low/high-level programming languages obsolete. Everything can be distilled into Javascript runtimes, nothing is a real programming language anymore.
I program in natural language
“Go and buy some milk and if they have eggs, get some.”
Syntax error on line 1, column 53: expected object for predicate `get`
Yes, es soon you start pointer arithmetic you dig your own grave. Hence low level
Not when it was invented, no. Compared to today’s stack-phobic languages? Certainly.
I mean idfk how you’re planning on calling a.out without an even, stronger, lower-level language like Bash 3.
clearly not, but it is low-er level that other stuff
I’m writing an NES game in C and struggling with some nonsense that’d be trivial in ASM, so I’m recently inclined to say yes.
Can you just drop to assembly for what you want to do? Gnu compilers even have inline assembly, but with any compiler you should at least be able to built a separate, assembly, object file.
I can and have, and it’s still a tremendous pain in the ass to launder the addresses for labels. The hottest loop in the game draws an arbitrary span of the same tile. It should be trivial to do a jump table - to grab an address from an array and go there. 13 tiles?
goto jump[13]
. (Or really some stack / return shenanigans, because the 6502 is odd.) But if there’s any way to get cc65 to shove the location of an instruction into an array, I haven’t found it.