3 ms·
> Does it include a FORTH 6502 assembler written in FORTH? https://github.com/scotws/TaliForth2/blob/master/docs/manual.adoc https://github.com/scotws/TaliFort
by avhon1 8y ago
> Does it include a FORTH 6502 assembler written in FORTH?
https://github.com/scotws/TaliForth2/blob/master/docs/manual.adoc https://github.com/scotws/TaliForth2/blob/master/docs/manual...
> Currently, there is no assembler included. The plan is to include a simple assembler based on Simpler Assembler Notation (SAN).
It does include a disassembler: https://github.com/scotws/TaliForth2/blob/master/docs/ch_disasm.adoc https://github.com/scotws/TaliForth2/blob/master/docs/ch_dis...
The author has written a 6502 assembler in gforth: https://github.com/scotws/tasm65c02 https://github.com/scotws/tasm65c02
Here is a document describing the notation: https://docs.google.com/document/d/16Sv3Y-3rHPXyxT1J3zLBVq4reSPYtY2G6OSojNTm4SQ/edit#heading=h.ik059qk0tz7r https://docs.google.com/document/d/16Sv3Y-3rHPXyxT1J3zLBVq4r...
- DonHopkins 8y agoI got a quick reply from Mitch Bradley! Yes I wrote a paper but I probably can't find it. The easiest place to look would be in the Open Firmware source. https://github.com/MitchBradley/openfirmware/blob/master/forth/kernel/kernel.fth#L771 https://github.com/MitchBradley/openfirmware/blob/master/for... The magic is all in +level and -level. Search for those in kernel.fth to see other places they are used to achieve a similar effect, e.g. in abort" For an alternative but effectively equivalent formulation, see: https://github.com/MitchBradley/cforth/blob/master/src/cforth/forth.c#L652 https://github.com/MitchBradley/cforth/blob/master/src/cfort... and https://github.com/MitchBradley/cforth/blob/master/src/cforth/control.fth https://github.com/MitchBradley/cforth/blob/master/src/cfort...