Schrijver
| L80
|
IC msx professional Berichten: 538 | Geplaatst: 19 Juli 2004, 11:34   |
here it is once more ro: you suck  |
|
ro msx guru Berichten: 2346 | Geplaatst: 19 Juli 2004, 11:45   |
don't tempt me IC, I'm just one click away to push that "moderator alert" thingy! LOL. Yeah, well good thing I suck, makes you look good. doonnit?
|
|
IC msx professional Berichten: 538 | Geplaatst: 19 Juli 2004, 12:13   |
Haha! there's hope for me afterall  |
|
MicroTech msx lover Berichten: 122 | Geplaatst: 19 Juli 2004, 16:58   |
Quote:
| Well, Micro hope you succeed on your "little" (only 18 source files?!?) project.
|
Thanks ro, if you wish I can send you an example by mail (I've no file-hosting).
but I can't find an e-mail address to send you
P.S.: if MRC could host the file for me, it would be an honour for me to share my project with the MSX community
|
|
snout
 msx legend Berichten: 4991 | Geplaatst: 19 Juli 2004, 18:51   |
MicroTech: Of course we can! Just send it in to downloads@msx.org and we'll do the rest!  |
|
ro msx guru Berichten: 2346 | Geplaatst: 19 Juli 2004, 19:59   |
and there ya go, we're awaiting on your upload mt. (little hint maybe?)
|
|
MicroTech msx lover Berichten: 122 | Geplaatst: 21 April 2006, 14:43   |
Here I am again with another L80 related question:
Development requires splitting code in many files and I've reached the limit of 110 files
per directory.
I use RuMsx and BlueMsx which (both) support 2 diskdrives.
I already splitted my .rel files on both disk drives but the problem
(only 110 files per dir) is still threatening.
I've tried L80 v.2.00 which supports paths with directories but when linking
the (approx) 60th .rel file I get a "No spare file handles" error.
Question 1:
Is a more efficent version of L80 available?
(possibly supporting subdirs and not limited to 64 file handles)
Question 2:
Is a msdos-style SUBST command available for MSXDOS2?
(ASSIGN is not useful 'cause I can't stop linking to "assign" a new drive)
Thanks
MicroTech
|
|
pitpan msx master Berichten: 1389 | Geplaatst: 21 April 2006, 14:51   |
I really wonder why would anyone require such an amount of files!
I don't know what can be done to fix the problem, but I guess that instead of looking for a new tool it would be better to modify the program structure so that is has a reasonable number of independant files.  |
|
ARTRAG msx master Berichten: 1737 | Geplaatst: 21 April 2006, 14:54   |
|
|
ro msx guru Berichten: 2346 | Geplaatst: 21 April 2006, 15:25   |
man, what project are yeh working on!
It must be the bongzila of all coding projects. haha. darn dude, why not use subdirs?
and 110 files for sources?!?!?!
and all those link files, oh common!
|
|
MicroTech msx lover Berichten: 122 | Geplaatst: 21 April 2006, 15:52   |
@ pitpan:
Ascii C has a limited amount of "label buffer" so reducing the number of header files #included
forces code to be split on more files.
For example if a function is very complex and as "tons" of #include you may be forced to leave 1 function per file).
I already have 1 .dsk with C compiler, 1 .dsk containing E3D library and 1.dsk with the application...
I'll try to reorganize.
@ ARTRAG:
I think Ascii C produces the most efficient asm code so I wish to continue using it:
linking on PC would force me to export .rel files from .dsk to pc harddisk to link
and then to import the executable again in the .dsk to test: is this correct?
@ ro:
I've written that L80 v1.00 doesn't support subdirs
while L80 v 2.00 is limited to (less than) 64 files.
The problem is that when linking all the necessary .rel files must be online and visible contemporary.
Probably I should build a library with the "less recently used" .rel files but I wish to find a faster way, if possible...
MicroTech
|
|
ro msx guru Berichten: 2346 | Geplaatst: 21 April 2006, 16:06   |
why not compress more files into 1 link file for example.. or I'm I talking stupid here (never used link files, wbass remember)
|
|
ARTRAG msx master Berichten: 1737 | Geplaatst: 21 April 2006, 16:39   |
Quote:
|
I think Ascii C produces the most efficient asm code so I wish to continue using it:
linking on PC would force me to export .rel files from .dsk to pc harddisk to link
and then to import the executable again in the .dsk to test: is this correct?
|
Correct! The easyest way should be
1) develop with the C you like in the emulator using "dirasadisk" options,
2) link the rel file where they are (in their dir) using a cross linker (LD80 or what you like) from a msdos cmd shell
|
|
MicroTech msx lover Berichten: 122 | Geplaatst: 21 April 2006, 17:05   |
@ ro:
I link with:
L80 < filelist.txt
where filelist.txt contains a list of .rel modules.
filelist.txt can be long "as I wish" but I've "only" 2 disk drives
with 112 files each (I wrote 110 but I was wrong, the right number is 112).
@ ARTRAG:
BlueMsx help says:
Quote:
|
This is the Dir as Dsk feature, that works only in reading mode for security reasons : you can make changes on the virtual disk image, but these changes are not transferred to the Windows source directory.
This feature has also specific MSX limitations : no more than 112 files in a directory and you can't exceed a total size of 720 Kb (including the boot sector that will be added automatically on the virtual disk image). It can't work with MSX subdirectories and with special boot sectors.
|
Maybe my English is not very excellent  but I understand that "dis as dsk"'s behaviour is a bit particular: if I link how can I "export" my executable to a "safe" place (pc harddisk)?
Seems a bit convulse to me  |
|
ARTRAG msx master Berichten: 1737 | Geplaatst: 21 April 2006, 17:21   |
Quote:
|
if I link how can I "export" my executable to a "safe" place (pc harddisk)?
Seems a bit convulse to me
|
you mean that you cannot compile having the rel file written in the virtual disk, do you ?
In this case you can compile on a true msx and than link on a PC
Each time you need to compile in MSX
pass the disk to the PC
link
and move teh disk to msx
or...
you could use openmsx, where dirasadisk can also write the files if the
total size of the file does not increase.
Last resort, pass to a crosscompiler, I think that this is a very
difficult step once the project is almost finished...
anyway I have no other proposals.  |
|
|
|
|