I think it can be very very easy to convert it for Oric...
It is a low level language, very close to ASM, that compile for 6502
Under GPL licence, it is open source, written for Virtual Pascal (since I program in Delphi, i see no problem at all to adapt it for the Oric).
I will test this this evening...
Have a look here :
http://hem.bredband.net/b129764/Siders/
In fact, it aims to ease the task of 6502 asm programming for
- "pros" like you
- or noobs like myself
Do you know 65CM ?
Hum, I took a look at one of the examples (heap management), not sure it's really easier than normal assembly code.
What it makes easier apparently is 16 bits operations (subtractions, comparisons). Not sure that this:
is really more readable than:
Is it ?
What it makes easier apparently is 16 bits operations (subtractions, comparisons). Not sure that this:
Code: Select all
WHILE 1
IF var=0 THEN GOTO END
WEND
LABEL End
Code: Select all
.(
loop:
lda var
beq end
jmp loop
.)
end:
Well, I think it depends mainly about the length of the assembly code.Dbug wrote: Is it ?
The fact it is closer to a natural language make it easier to understand.
Personnaly, I still has some hard time to always remember all those mnemonics and their precise role.
Anyway, the idea is not bad at all, may be this "language" could be a bit more expanded in order to be really attractive. But in the mean time, it is designed to be closest as possible as asm in order for the compiler to provide in one pass a really optimized code.
Yeah, but that's the point: Why doing it in one pass ?
With the power of current PC's, you could have something a lot more powerful I think, while still being simpler in the syntax.
I have the feeling that what this language do, could be nearly entirelly implemented using a set of macros with parameters in XA.
Basically it's the way the C compiler in the OSDK is implemented, with macros emulating 16 bits instructions, comparisons, etc...
I wonder if FORTH would not be a better language actually
With the power of current PC's, you could have something a lot more powerful I think, while still being simpler in the syntax.
I have the feeling that what this language do, could be nearly entirelly implemented using a set of macros with parameters in XA.
Basically it's the way the C compiler in the OSDK is implemented, with macros emulating 16 bits instructions, comparisons, etc...
I wonder if FORTH would not be a better language actually