David Given
David Given
It does indeed build with nasm --- see src/build.lua, buildnasm(). I know it works because it generates binaries for the compiler tests! Might it be complaining (unhelpfully) about the segmentation...
It needs an assembler for DOS. I can't find an open source one which supports segments and exes. (I have to target .exe in order to get small mode executables,...
There's already a simple assembler framework in Cowgol --- look in src/cowasm. Currently it supports the TLCS90, PDP-11, 8080, and 6303. Half the instruction set is pretty orthogonal and wouldn't...
That would be completely feasible --- the GB processor is similar to the 8080, and there's already a core for that. It would need a custom emulator to run compiler...
I think this should be relatively doable. There's actually some support for address spaces already, known as workspaces --- the 6502 has three: zero page, normal data, and static data;...
Yes, that's correct. The FCB API is a bit bodged together (and some of the implementations are just plain wrong and I need to fix them; don't trust FCBSeek for...
You shouldn't need to, actually. Provided you start at the beginning and read through to the end, which the hex dumper is, it should work fine. You don't need FileLength()...
Re OpenBSD: yes, please. I found an old machine and installed OpenBSD on it, but of course Cowgol only generates Linux binaries. If you have something which should (but doesn't)...
FWIW, I've rewritten the file I/O stuff so that there's proper buffering and byte-accurate file lengths on platform which support it. I'd like to keep the same EOF handling, though,...
Oh, interesting. That's not actually supposed to work! I've just had else on another forum complain about only having single-dimension arrays, too... I will look into this; it's clearly _almost_...