Author Topic: Bass+DOS=??  (Read 3925 times)

hedgehog

  • Posts: 34
Bass+DOS=??
« on: 17 May '03 - 15:25 »
Hi,
Could be bass used under old MS-DOS?
thanx hh

fredvs

  • Posts: 327
Re: Bass+DOS=??
« Reply #1 on: 17 May '03 - 15:38 »
I dont think so, it use api windows and dx drivers, and i dont think it exists a linux version (only with bassmod)...
« Last Edit: 17 May '03 - 15:40 by fredvs »

hedgehog

  • Posts: 34
Re: Bass+DOS=??
« Reply #2 on: 17 May '03 - 17:02 »
i mean if it colud run on a pc where there's only ms-dos7.x installed. directx are libraries and dlls, like bass too.Maybe and "hard copy" of directx dlls could be enough to run bass.. or not??

WingZero

  • Posts: 167
Re: Bass+DOS=??
« Reply #3 on: 17 May '03 - 19:12 »
That would be quite complex. MS-DOS has no concept of "Dynamic Libraries". In order to ues them, you would need to readthe DLL into memory. After which, you'd need to read the export tables of the DLL's to find the location of the function in memory. Trying to call a function in a DLL that calls a function in another DLL is even more complex. It may require a heavy amount of assembler code.

The_TriggerZone1

  • Posts: 4
Re: Bass+DOS=??
« Reply #4 on: 12 Jun '03 - 15:53 »
You also would have to reprogram DOS because dos is 16bit OS and windows is 32bit. (or you have to reprogram BASS to be 16bit (very bad idea)). Just use windows.

Sebastian_Mares

  • Guest
Re: Bass+DOS=??
« Reply #5 on: 12 Jun '03 - 16:18 »
I was wondering how audio players for DOS work. I have seen some, which can play WAV, MP3/MP2/MP1 and Ogg Vorbis.

bigjim

  • Posts: 232
Re: Bass+DOS=??
« Reply #6 on: 12 Jun '03 - 18:30 »
The hard way would be to the dac I think ports irq/dma.

If I remeber rightly there was a library years ago for dos powerbasic that let you control creative soundblaster compliant soundcards-
/mixer levels
/play through the fm sound chip
/and play wavs

I cant remember the name of it but I used it for a game I was trying to make to play wav cannon sound fx.

.........

just had a look and for powerbasic try here for a few libs:

http://www.powerbasic.com/files/pub/pbdos/library/
« Last Edit: 12 Jun '03 - 18:43 by bigjim »

The_TriggerZone1

  • Posts: 4
Re: Bass+DOS=??
« Reply #7 on: 12 Jun '03 - 21:01 »
If you are in to qbasic then you can find some nice things. But the problem is that most of these drivers/programs are build for one specifik sound card. So good luck in finding one that works.

http://www.qb45.com (if I'm right still up to date)
http://www.qbasic.com Havent seen any updates here sins years. But has some good stuff.