Autor
| Turbo Pascal 3.3f
|
SLotman msx professional Mensajes: 561 | Publicado: Agosto 27 2005, 23:09   |
I am having problems with pascal 3.3f... I'm trying to do a simple "seek" on a file, and it allways give me error $90 back, no matter what I do...!
The same seek on pascal 3.0 works; but I cant compile my program on pascal 3.0 simply because msx tp3.0 compiler can't handle my *very big* program (even if split into several files, it gives me a memory error)
Does anyone know some way to fix or a workaround on this seek problem??
|
|
manuel msx guru Mensajes: 3635 | Publicado: Agosto 27 2005, 23:12   |
Try mailing Frits Hilderink himself if don't get a reply.
|
|
Leo msx freak Mensajes: 238 | Publicado: Agosto 31 2005, 14:59   |
I dont remember if ERROR 90 means out of memory or if its 99
Have you tried to put options for turbo 3.3f like hex start and end adress , if it is
a memory issue it can help ...
|
|
arnold_m msx lover Mensajes: 86 | Publicado: Septiembre 01 2005, 16:14   |
You could try write your own seek function or procedure using inline assembler or machine code. This requires some knowledge about the data structure associated with a file.
I do not know how turbo pascal passes function arguments and the return value. If all else fails you could just use global variables to pass arguments
|
|
Tanni msx addict Mensajes: 304 | Publicado: Septiembre 02 2005, 10:47   |
Slotman, how big is your program? Maybe you can save memory space if you reduce global variables. Or use the compiler directives to switch off runtime index checking etc. I don't know what you mean by a ''seek'' on a file. Do you mean to show a directory? This doesn't work on my TP 3.0!
|
|
|
|
|