MSXPad and SDCC

페이지 1/2
| 2

By enribar

Paragon (1144)

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 or 등록 to post comments

By ro

Scribe (4541)

ro의 아바타

31-05-2011, 10:37

MSXPad, is that a tabled? Smile

By SLotman

Paragon (1238)

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

By Huey

Prophet (2676)

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).

By ARTRAG

Enlighted (6570)

ARTRAG의 아바타

31-05-2011, 14:44

go for notepad++, much faster and better

By enribar

Paragon (1144)

enribar의 아바타

31-05-2011, 15:01

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

By commodorejohn

Expert (92)

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.

By enribar

Paragon (1144)

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?

By commodorejohn

Expert (92)

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.)

By enribar

Paragon (1144)

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?

By commodorejohn

Expert (92)

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.)

페이지 1/2
| 2