Linux just the Assembler?
Posted: Sat Sep 05, 2020 1:41 am
I previously asked about running the IDE on Linux, but this time I'm just interested in the Assembler...
I've struggled with getting the IDE working on Linux, attempting both Wine and a Virtual Machine. I'd no joy so I had to resort to using an old laptop which I still had a windows partition on, so I can dual boot it into Windows. Not the best solution but better then going and buying a new computer with Windows 10 on it. Given the number of computers I already have, another one for a single function is hard to justify.
So I then hit on a thought... A portion of the IDE's functionality is taking a source text file and running an assembler on it to generate a binary hex file. That's the only bit, of the IDE, that I'm really interested in. The rest of the IDE's functionality is for organising projects, communicating with the target dev board, writing the resulting binary hex file to the EEPROM, of the Dev board. I'm not too bothered about that part at all. So I thought that given the limited functionality of the Assembler, mainly parsing text files it might easily be compiled for a Linux target architecture. I don't want the source code.
Actually given the limited scope of the FV-1's instruction set, (perhaps 30 instructions), I wonder would it be possible to write a quick assembler in Python. Hmmm, there might be better options rather then Python but you know what I mean.
I've struggled with getting the IDE working on Linux, attempting both Wine and a Virtual Machine. I'd no joy so I had to resort to using an old laptop which I still had a windows partition on, so I can dual boot it into Windows. Not the best solution but better then going and buying a new computer with Windows 10 on it. Given the number of computers I already have, another one for a single function is hard to justify.
So I then hit on a thought... A portion of the IDE's functionality is taking a source text file and running an assembler on it to generate a binary hex file. That's the only bit, of the IDE, that I'm really interested in. The rest of the IDE's functionality is for organising projects, communicating with the target dev board, writing the resulting binary hex file to the EEPROM, of the Dev board. I'm not too bothered about that part at all. So I thought that given the limited functionality of the Assembler, mainly parsing text files it might easily be compiled for a Linux target architecture. I don't want the source code.
Actually given the limited scope of the FV-1's instruction set, (perhaps 30 instructions), I wonder would it be possible to write a quick assembler in Python. Hmmm, there might be better options rather then Python but you know what I mean.