Revolution Software Forum Index Revolution Software

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Main PageRevSoft.org   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assembler Discussion
Goto page Previous  1, 2, 3 ... 25, 26, 27
 
Post new topic   Reply to topic    Revolution Software Forum Index -> Spencer's Assembler
View previous topic :: View next topic  
Author Message
Stev47
n00by


Joined: 30 Sep 2008
Posts: 6

PostPosted: Sun Mar 14, 2010 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Buckeye Dude
Revolution Software Staff


Joined: 01 Sep 2008
Posts: 357
Location: Washington

PostPosted: Sun Mar 14, 2010 1:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
darkstone knight
Lite User


Joined: 27 Apr 2009
Posts: 92
Location: D:/code/z80/source code/supaplex/

PostPosted: Sun Mar 14, 2010 1:24 pm    Post subject: Reply with quote

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? Crying or Very sad

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 Very Happy
Back to top
View user's profile Send private message
calc84maniac
Delux User


Joined: 18 Oct 2006
Posts: 271
Location: The ex-planet Pluto

PostPosted: Fri Apr 02, 2010 5:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Galandros
Regular


Joined: 24 Oct 2008
Posts: 143
Location: dead end of Europe

PostPosted: Mon Jun 14, 2010 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Galandros
Regular


Joined: 24 Oct 2008
Posts: 143
Location: dead end of Europe

PostPosted: Fri Jun 25, 2010 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Revolution Software Forum Index -> Spencer's Assembler All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 25, 26, 27
Page 27 of 27

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group