| View previous topic :: View next topic |
| Author |
Message |
Stev47 n00by
Joined: 30 Sep 2008 Posts: 6
|
Posted: Sun Mar 14, 2010 10:29 am Post subject: |
|
|
There are some problems building spasm from svn on linux.
(libgmp library is installed, gcc version 4.4.1, x86_64 target)
Buildlog:
http://pastebin.com/mRKSbpNv
Help appreciated |
|
| Back to top |
|
 |
Buckeye Dude Revolution Software Staff

Joined: 01 Sep 2008 Posts: 357 Location: Washington
|
Posted: Sun Mar 14, 2010 1:21 pm Post subject: |
|
|
I can try and help with some of this. First I would say try updating to the latest on the svn, I know spencer committed some stuff to me yesterday. It may or may not make this easier, so keep a backup of the current version you have. Second, Spencer changed -DWITH_REUSABLES to -DUSE_REUSABLES without telling anyone, that needs to be fixed. I believe I had one place in the source where it was not fixed however, so do a search to be sure. For the _declspec problem just get rid of it, its in storage.h and storage.c on free storage. Its for a windows dll
see what that fixes |
|
| Back to top |
|
 |
darkstone knight Lite User

Joined: 27 Apr 2009 Posts: 92 Location: D:/code/z80/source code/supaplex/
|
Posted: Sun Mar 14, 2010 1:24 pm Post subject: |
|
|
is it possible to use macro's whit arrays? like this:
#define get(x) {"001.z80", "002.z80", 003.z80}[x]
<......>
#include get(1)
#induce get(2)
would help in creating user-friendly environment for my game.
second: can i call .exe from a macro?
edit: third,
#include "/compressed/" + string
does not work?
edit: nevermind, i got it fixed by creating a bunch of .bat files outputting hundreds (222, to be exact) of #IFDEF macro's in my source...
first time my batch programming skills are actually usefull  |
|
| Back to top |
|
 |
calc84maniac Delux User

Joined: 18 Oct 2006 Posts: 271 Location: The ex-planet Pluto
|
Posted: Fri Apr 02, 2010 5:33 pm Post subject: |
|
|
Bug report: .fill apparently wants the fill byte to be a signed char, meaning that any byte 128 to 255 will give a warning. _________________ ~calc84maniac has spoken.
Projects:
Project M (Super Mario for TI-83+)
F-Zero for TI-83+ |
|
| Back to top |
|
 |
Galandros Regular
Joined: 24 Oct 2008 Posts: 143 Location: dead end of Europe
|
Posted: Mon Jun 14, 2010 2:09 pm Post subject: |
|
|
Has the bug that calcmaniac reported fixed?
Anyway, latest spasm can be found in http://wabbit.codeplex.com/
It has new features like the built-in clr(), wr() and run() macros and timing options.
Spencer, you should document those.
And I should finish my spasm and z80 macros along with some documentation about interesting macro code...
EDIT: have fun with this bugs:
;rst does not accept equates
rst rMov9toOP1 ; rst 20h
; this string compares gives error, not that really important
#define str "o"
.echo ("o"=="o")
.echo (str=="o")
I haven't checked the .error inside a macro that returns a value recently... _________________ TI Projects:
StackAttack! - port of a game... Pending
Contributing to WikiTI.
Hobbing in TI projects. |
|
| Back to top |
|
 |
Galandros Regular
Joined: 24 Oct 2008 Posts: 143 Location: dead end of Europe
|
Posted: Fri Jun 25, 2010 6:45 am Post subject: |
|
|
Why SPASM says $FF does not bit in 8-bits?
.fill 768,$FF
I am talking about the latest build on http://wabbit.codeplex.com/
This should be solved.
;rst does not accept equates
rst rMov9toOP1 ; rst 20h
error: RST doesn't take these arguments _________________ TI Projects:
StackAttack! - port of a game... Pending
Contributing to WikiTI.
Hobbing in TI projects. |
|
| Back to top |
|
 |
|