Problem with sjASM 0.40b3 (Development MSX Fora)MSX Resource Center PassionMSX MSX2 contest           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 98 gasten en 4 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Problem with sjASM 0.40b3

Schrijver

Problem with sjASM 0.40b3

jltursan
msx professional
Berichten: 850
Geplaatst: 25 April 2008, 18:08   
I'm not sure if it's me doing something wrong or it's a bug/intentional feature of the new sjASM...

After setting the ouput file size with the pseudo-op OUTPUT, no matters what happened with compilation, success or failure, the specified file is generated. I haven't checked what's in the file; but I guess that it'll be mostly garbage...


sjoerd
msx addict
Berichten: 444
Geplaatst: 25 April 2008, 21:06   
Sjasm always writes an output file. It'll contain mostly what you'd expect, except the errors, and address offsets may be wrong.
dvik
msx master
Berichten: 1304
Geplaatst: 25 April 2008, 21:26   
I also have one problem with sjasm. When generating a symbol file, local labels (with the '_' prefix) aren't part of the symbol file. This pretty much makes the local labels useless when debugging the code using emus that support symbol files.

Me and Vincent have a workaround, a script that pre-processes the assembly files and changes the local labels but thats a quite bad workaround.

(If you changed the behavior in later versions I apologize for the comment, not sure what version we're using)
sjoerd
msx addict
Berichten: 444
Geplaatst: 28 April 2008, 13:23   
Labels starting with '_' are not local labels in sjasm0.3 and newer. They should be listed in the symbol file, so I guess you found a bug in sjasm.
Vincent van Dam
msx addict
Berichten: 372
Geplaatst: 29 April 2008, 23:18   
There's actually another problem I have experienced for a couple of versions; some code can crash the compiler. I think it has something to do with the includes (no binary includes), but I havn't been able to create a unit test for it.
sjoerd
msx addict
Berichten: 444
Geplaatst: 02 Mei 2008, 14:03   
afaik sjasm crashes when you include a binary file with include instead of incbin.
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.