Calculator Community > Grammer

Creating Modules on calc?

<< < (2/2)

Xeda112358:
It would almost certainly say the same thing

E37:
I guess Im late to the party as usual.
Looking at the module code, I assume it is written for spasm. Mimas is kinda picky with moving addresses. RORG $ADDRESS should make it so that all following code will start at that address. This means that you should use RORG instead of ORG for Mimas. It also has tools for converting .asm files to its own appvar format (and back) for some easy copy and paste to and from the editor.

NonstickAtom785:
@E37 So what your saying is if I just coded the module in spasm-ng format then I can use the converter tool? That's what I did with the include file  *.* . I'm going to try using jsTIfied to make one using rorg because I don't always have access to a windows computer. Currently on Chromebook.

E37:

--- Quote from: NonstickAtom785 on February 27, 2020, 10:42:36 am ---@E37 So what your saying is if I just coded the module in spasm-ng format then I can use the converter tool? That's what I did with the include file  *.* . I'm going to try using jsTIfied to make one using rorg because I don't always have access to a windows computer. Currently on Chromebook.

--- End quote ---
There are asmto8xv.exe and 8xetoasm.exe in mimas/tools I believe you just drag and drop files on them. There is no special spasm format, it just takes a text file with a .asm extension. Not sure what you meant for the include file, but I hope you found the tool on your own. The whole point I was trying to make is that you need to use rorg instead of org for mimas when using code from spasm.

Xeda112358:

--- Quote from: E37 on February 27, 2020, 10:13:26 am ---I guess Im late to the party as usual.
Looking at the module code, I assume it is written for spasm. Mimas is kinda picky with moving addresses. RORG $ADDRESS should make it so that all following code will start at that address. This means that you should use RORG instead of ORG for Mimas. It also has tools for converting .asm files to its own appvar format (and back) for some easy copy and paste to and from the editor.

--- End quote ---
Oh, nice! ORG was in fact the cause of some of my headaches with that.

EDIT: I updated my version of Granmer on-calc (there was in fact a bug in the outdated version I had). Combined with using rorg instead, it worked !

Navigation

[0] Message Index

[*] Previous page

Go to full version