z88dk (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 107 gasten en 1 MSX vriend online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - z88dk

Schrijver

z88dk

manuel
msx guru
Berichten: 3382
Geplaatst: 31 Oktober 2006, 23:33   
I just found out that z88dk is in Debian. This is the description:

Quote:


z88dk is a SmallC+ and Z80 assemler cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different z80 based machines. The name z88dk originates from the time when the project was founded and supported only the Cambridge z88 portable.

Supported machines: Cambridge Computers z88, Sinclair ZX Spectrum, Sinclair ZX81, CP/M based machines, Amstrad NC100, VZ200/300, Sharp MZ series, TI calculators (TI82, TI83, TI83+, TI85, TI86), ABC80, Jupiter Ace, Xircom REX 6000, Peters Sprinter, Sam Coupe, MSX1,Spectravideo, Mattel Aquarius, Peters Sprinter, and C128 (in z80 mode) machines.

Features: + Small C+ based compiler with structs, floats and other ANSI extensions + Module assembler/linker which only includes required library routines + Peephole optimizer with rulesets that reduce the size of generated code

by ~30% and improve speed

+ Easily retargetted C library including stdio routines + Retargettable VT100 terminal + Support for over a 25 z80 based machines



Sounds like very interesting for MSX! I checked some of the docs (it also has an examples package) and there's indeed a specific MSX option for the appmake command to generate BLOAD files

Dud anyone ever try this?
AuroraMSX

msx master
Berichten: 1231
Geplaatst: 31 Oktober 2006, 23:42   
I've tried Small C al looooooooooooong time ago. Small C+ seems to have some better options (like having structs and floats ). The peephole optimizer was actually an absolutely neccesary step, since the assembly generated by the C code generator would be filled with constructs like
    ld  a,(hl)
    ld  (hl),a
and other similar useless code...
Now if only it would include a 'huge' memory model with automatic code generation for inter-slot and inter-memory-mapper-block calls -- preferably with support for MSX-DOS 2 and MemMan memory management

jltursan
msx professional
Berichten: 848
Geplaatst: 01 November 2006, 02:00   
Quote:

Dud anyone ever try this?



Sure!. Its MSX support is near zero with only the possibility of create console apps (I was able to compile a text adventure demo that comes as example and it works flawlessy). Its difficult to compile the full sources (at least without some fighting with GCCish C compilers for Windows) so it's harder than SDCC when talking of create library add-ons. Also, the final versions are released even slower than the linux kernels!.
In the positive side, seems that it's a very optimized Z80 compiler and there's a GREAT Sprite library, now for spectrum only; but with a bit of luck in a near future, for MSX too. You can see the lasts news about that here


manuel
msx guru
Berichten: 3382
Geplaatst: 01 November 2006, 18:39   
AuroraMSX - but, could we compile a game like Big Blast with it and gain speed?
AuroraMSX

msx master
Berichten: 1231
Geplaatst: 02 November 2006, 20:16   
Quote:

AuroraMSX - but, could we compile a game like Big Blast with it

Sure
Quote:

and gain speed?

I doubt it
 
 







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