Transferring Compass sources to pc (Development MSX Fora)MSX Resource Center MSX Info Update - Finnish MSX madness at its best           
            
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 140 gasten en 4 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Transferring Compass sources to pc

Schrijver

Transferring Compass sources to pc

Whizzy
msx user
Berichten: 56
Geplaatst: 09 April 2004, 10:05   
Hi all,

I'm trying to pickup the good old habit of MSX programming once more !
However this time i want to use my pc and an emulator for faster developing. I have all my sources in Compass and i was wondering which z80 compiler on PC can use my sources from Compass 1:1 .

I already tried Sjasm but that takes too much time converting my sources into something compilable. Which compiler takes my sources 'as is' and compiles them !?

Or which compiler do you use ?

Thanks !

Antal
BiFi
msx guru
Berichten: 3142
Geplaatst: 09 April 2004, 10:49   
It mostly depends on the format you use for hexadecimal and binary notation. Using the same method as Basic (&B and &H) will most likely need conversion anyway as cross assemblers don't have support for them. Also any macro's may differ between assemblers. All in all converting any source to something compilable is necessary, whether it's written in/for Compass, Macro80, Gen80, WB-Ass 2 or any other assembler, especially from an MSX assembler to a cross assembler capable of compiling to Z80 code.
snout

msx legend
Berichten: 4991
Geplaatst: 09 April 2004, 11:40   
Good to see you back in action, Antal! I still like Construction Craze and Rick Dangerous quite a lot!

IIRC it's not easy to convert Compass source code to other assemblers, though... maybe you could run Compass on an MSX Emulator like NLMSX or openMSX and boost the speed of emulation?
Whizzy
msx user
Berichten: 56
Geplaatst: 09 April 2004, 13:26   
hehe.. never tought you would remeber me...

Yeah.. we still have these idea's floating around of making just one new game before we turn 40.. LOL

Too bad our DOME (Dune clone) never finished.. i'll put the beta online here if i can ?!

Antal

(ps. Emulation Compass is an idea, but i'd like to work with Interdev or something.. gives me more control on the sources and directories etc.etc.) Maybe even an CVS or SourceSafe option..
snout

msx legend
Berichten: 4991
Geplaatst: 09 April 2004, 13:30   
If you like you can send the beta of DOME to downloads@msx.org, I'll add it to the downloads database.

Hmm.. indeed, under those circumstances Emulating Compass is not really an option
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 09 April 2004, 14:31   
I was thinking of adding a (tokenized) Compass and WBASS2 convertor to tniASM...
But that'll have to wait for next version.
Whizzy
msx user
Berichten: 56
Geplaatst: 09 April 2004, 15:45   
hehe i want it now

That would be really nice ! Which compiler on the pc would you say compiles my Compass sources (incl. macros) with the least manual changes ?

thx!
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 09 April 2004, 16:08   
GEN80 under a CP/M emulator I guess
turbor
msx freak
Berichten: 172
Geplaatst: 09 April 2004, 22:03   
Quote:


IIRC it's not easy to convert Compass source code to other assemblers, though... maybe you could run Compass on an MSX Emulator like NLMSX or openMSX and boost the speed of emulation?



My way of working is under Linux using openMSX with ide harddisk emulation (for MSX-DOS2, Compass,dd-graph, etc etc), and then have my sources in ASCII in a (linux-)directory, I then use vim to edit my sources and I can use a local CVS on them :-)

By using openMSX and the dir-as-disk feature on my source directory, compass reads from the "emulated disk", and everytime I save the code again from vim, compass can immediately re-read the source. To get maximum speed I turn throttle off for the emulator.
IMPORTANT: Do NOT write to the emulated disk! since most writes are put in a hidden file as a 'changed sectors cache'. OK, this is not true if you keep the same filesize&filename ( when working with GE5 files for instance :-) in such case the changes are immediately visible in the original file as well.

Using a loopback mount on a dsk image could cause sync/flush troubles in between the linux filesystem, and the disk image that openmsx uses thus corrupting the diskimages FAT/directory-entries. In such case you should eject the disk from openmsx before the loopback mount, and umount before inserting the diskimage again.

rgds,

David
Vincent van Dam
msx addict
Berichten: 372
Geplaatst: 11 April 2004, 00:03   
Quote:


... I then use vim to edit my sources and I can use a local CVS on them :-)



Or you can use xemacs!

Quote:


IMPORTANT: Do NOT write to the emulated disk! since most writes are put in a hidden file as a 'changed sectors cache'. OK, this is not true if you keep the same filesize&filename ( when working with GE5 files for instance :-) in such case the changes are immediately visible in the original file as well.



Maybe it's a good idea to add an extra that mounts the directory as read only to prevent accidents?


Whizzy
msx user
Berichten: 56
Geplaatst: 15 April 2004, 11:47   
Well i guess without making use of an emulator i'm stuck of converting everything by hand. Currently i use Sjasm but i've also read on this forum about gen80. Which one do you guys use and or is your favorite ?

Thanks, hopefully you'll be seeing some results soon..
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 15 April 2004, 13:43   
Look at the frontpage poll to find out.
 
 







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