[Turbo Pascal] Q&A official thread

Página 17/17
10 | 11 | 12 | 13 | 14 | 15 | 16 |

Por rjp

Master (193)

Imagen del rjp

05-07-2020, 00:13

rolandve wrote:

I certainly will. I've got no other experience then MSX basic programming but what I think I understand from surfing around this board is that any high level programming language is obsolete. Its only assembly I see, but I can't find a decent book. I like to learn by modifying code and see what happens.

In many examples (C and Pascal) I see libraries that are 100% assembly). That of course is very good because of speed. It makes me wonder about the BIOS though. I think I see people use the BIOS like its a library. So my question is: is the BIOS a library that jumps to the rom for the actual code or is the basic rom just the wrapper around the BIOS.?


Unfortunately, TP3 don't know how to handle with directories, because it's a CP/M compiler. But I found that we can cheat TP3 using the APPEND MSX-DOS 2 environment variable.

I created a procedure, called CheatAPPEND, so I can handle with files which are located in other directories.

http://github.com/ricardojpinheiro/utils/ . Get any .PAS there and you'll find this procedure.

Hope this helps.

Cheers, Ricardo.

Por rjp

Master (193)

Imagen del rjp

05-07-2020, 22:07

And.... I found the Lammaassari's Pascal routines to use Memory Mapper. I could understand and use MapperSupport, MapperCount and the register which has information about the Mapper system, I've got all informaion which I needed to know. Nice.

But I couldn't understand how to use AllocateMapperPage, FreeMapperPage, WriteMapperPage and ReadMapperPage.

Is there any examples written in Pascal about how can I use it correctly? I looked for them, but I didn't found it, only the mpcplayer.inc, which wasn't clear to me.

Any help would be very appreciated.

Thanks, Ricardo.

Por popolony2k

Hero (544)

Imagen del popolony2k

09-07-2020, 03:44

Hi all.

I've updated PopolonY2k Framework on Sourceforge.net project repository at https://sourceforge.net/p/oldskooltech/code/HEAD/tree/msx/tr...

Some of improvements are described below:

  1. Memory Mapper routines added;
  2. Sound chip drivers complete now are written in ASM to improve latency to the first Pop!Art release;
  3. MSX specific routines (Hooks, machine detection, ...)
  4. Collections support added (Linear linked list, in future newer collection components will be added);
  5. SetJmp/LongJmp C-like routines added;
  6. Loadable module support added. Today are working with Turbo Pascal native I/O but MSXDOS2 internal I/O routines will be used to be possible using subdirectories with this module;

Please check project documentation to check the complete improvements list at project's TOC (table of content) at https://sourceforge.net/p/oldskooltech/code/HEAD/tree/msx/tr...

I'm still will be updating this repository in next weeks, adding recompiled binaries of some products I've released before, like MSXDUMP, Manifest Network Tools and finally Pop!Art VGM player (after 5 years of first videos on Facebook and Youtube), but no routines signatures will be changed, so everything is completely stable from here.


Por ToriHino

Paladin (828)

Imagen del ToriHino

09-07-2020, 18:22

Nice! That looks like quite an extension on the framework Smile

Página 17/17
10 | 11 | 12 | 13 | 14 | 15 | 16 |