MSXPad and SDCC

Página 1/2
| 2

Por enribar

Paragon (1209)

Imagen del enribar

31-05-2011, 10:23

Direct question:
Is it possible to configure MSXPad with SDCC instead of Turbo Pascal? And how?
Need help from Konamiman Smile

(I think It would be easy: declare SDCC compiler and C syntax recognition instead of Pascal ones).

MSXPad is here:
http://www.icongames.com.br/msxfiles/util-en.htm

Login sesión o register para postear comentarios

Por ro

Scribe (4963)

Imagen del ro

31-05-2011, 10:37

MSXPad, is that a tabled? Smile

Por SLotman

Paragon (1242)

Imagen del SLotman

31-05-2011, 11:38

MSXPad would have to be re-programmed, to use C syntax highlighting, to recognize .c and .h files as headers and code files... too much to be done, and nowadays, time is very scarce for me Sad

Por Huey

Prophet (2694)

Imagen del Huey

31-05-2011, 12:35

Why not use something like notepad++?

There are free-ware editors available that have syntax plug-ins available (z80, C, c++ etc).

Por ARTRAG

Enlighted (6935)

Imagen del ARTRAG

31-05-2011, 14:44

go for notepad++, much faster and better

Por enribar

Paragon (1209)

Imagen del enribar

31-05-2011, 15:01

Thankyou for replies, but is there a tutorial that helps to configure Notepad++ and SDCC?

Por commodorejohn

Expert (92)

Imagen del commodorejohn

31-05-2011, 15:49

I made a template project file for Programmer's Notepad that worked when I tested it - you can get it from Avelino's page. It's specifically for MSX-DOS (it has someone's startup code for libc) but the basic rules for SDCC builds are there, so it shouldn't be difficult to tweak for cartridge builds.

Por enribar

Paragon (1209)

Imagen del enribar

31-05-2011, 16:43

Don't wanna ask too much, but is it possible to have (like a portable application) a ready made ZIP with all stuff configured?

Por commodorejohn

Expert (92)

Imagen del commodorejohn

31-05-2011, 22:01

That's pretty much what that is - a template project you can copy and add source files into, with a makefile that'll build them into an MSX-DOS executable. It just needs to be tweaked for cartridge builds (Not sure what would be involved with that, though - setting up the cartridge header is easy enough, but I don't know what all SDCC's libc needs to function.)

Por enribar

Paragon (1209)

Imagen del enribar

01-06-2011, 22:55

Sooo, finally, following Avelino instructions I've compiled the exampe for MSX-DOS 1 and it works on blueMSX! Good

But now I'm in trouble to make Programmers' Notepad to work, I cannot understand this statement:

"Next, assemble Avelino's MSX-DOS support files. Place the .o files in the SDCC
/lib directory, and the .h files in the /include directory."

I cannot see the ".o" files, do you mean ".REL" files instead? And where I put these files? Have to do a specific MSX subfolder?

Por commodorejohn

Expert (92)

Imagen del commodorejohn

02-06-2011, 05:34

The .o files are the assembler object output - are you using SDCC's as-z80 assembler, or some other assembler?

And you put the files in SDCC's /lib and /include directories, which are usually in the SDCC install folder (usually Program Files\SDCC.)

Página 1/2
| 2