Teambomba's DOS Moonwave driver

By jepmsx

Champion (281)

jepmsx さんの画像

27-04-2023, 23:00

Hi!
I've seen that there is a DOS driver for moonwave in teambomba webpage. It uses TSR functions for memory manager.
I want to try this driver. But I haven't been able to understand how to run it. I think that first I have to run Memman to enable TSR. Am I right? What are the next steps?

By the way, I've read a little bit about Memman and I wonder, isn't it the same as DOS2 page manager? What are the advantages?

ログイン/登録して投稿

By Manuel

Ascended (19691)

Manuel さんの画像

28-04-2023, 11:23

Biggest advantage is that it runs also on DOS1, perhaps? And that TSR functionality.

By ro

Scribe (5064)

ro さんの画像

28-04-2023, 12:44

my best guess is, MSD created the drive .. So, chime in, fella.

My knowledge of memman is super little, but I could imagen it is a true memory manager where the DOS one is just mapper segment managing. On other words, MM prolly does small blocks, DOS2 does 16K blocks only. You can imagen, I'm not a fan of the DOS2 shizl. So, I'd say (*If my assumption about MM is right), the advantage of MM is that it manages memory as a whole instead of segments (memory parts) like DOS2. From a programmers point of view, that's a huge difference.

The TSR (Terminate, Stay Resident) seems like a nice thing, tho your application has to be aware of this mechanism. A good TSR program has the ability to resume where it left of. In true fashion, TSR stays dormant in the background until called again. So, it's not active like a multi threading system can do where apps stay active and keep on "running". A TSR pauses and resumes when exiting/entering. Dunno how MM handles this, tho Smile

By Briqunullus

Paladin (777)

Briqunullus さんの画像

28-04-2023, 14:24

Memman uses 16k blocks as well. But it can handle multiple mappers and even regular ram cartridges. And of course it runs under dos 1 as well. In dos 2 it will simply claim all memory, so that dos 2 doesn't interfere.

TSR's attach themselves to hooks. Depending on the hooks selected, they can be either dormant or very active.

By msd

Paragon (1532)

msd さんの画像

28-04-2023, 17:29

It doesn’t use memman at all. TSR is (or was ) a generic term for programs that work on the background on ms(x)-dos . TSR

It only uses msx-dos2 memory functies . There should be example code included to load the driver

By msd

Paragon (1532)

msd さんの画像

28-04-2023, 17:30

Many tsr’s are your called from an interrupt hook . So not perse dormant.

By jepmsx

Champion (281)

jepmsx さんの画像

28-04-2023, 17:57

Thanks for the clarification guys!

After reading TSR in the documentation of MBwave, I looked for information and google sent me to MemMan, then I associated the two concepts.