Reply 20 of 25, by Gmlb256
ViTi95 wrote on 2021-09-16, 08:28:That's too much RAM usage for a DOS game, think that games like DOOM just runs on 4MB.
John1985 definitely created another thread about the recommended specs for CPU and RAM.
ViTi95 wrote on 2021-09-16, 08:28:That's too much RAM usage for a DOS game, think that games like DOOM just runs on 4MB.
John1985 definitely created another thread about the recommended specs for CPU and RAM.
Gmlb256 wrote on 2021-09-16, 12:33:ViTi95 wrote on 2021-09-16, 08:28:That's too much RAM usage for a DOS game, think that games like DOOM just runs on 4MB.
John1985 definitely created another thread about the recommended specs for CPU and RAM.
maybe the code was:
int *ptr;
//how much memory will this game need?
ptr=malloc(yes);
to use the meme.. 😀
retardware wrote on 2021-09-03, 16:41:And, don´t even think of compression to speed up disk transfers. CPUs were way too slow for that. The 80kB/sec transfer rate of PC/XT MFM disks was way faster than these CPUs could compress.
Compress no, but decompression was always faster than disk. 7MHz Amiga/Atari ST/megadrive 68000 does 500-900KB/s LZ4W
https://github.com/Stephane-D/SGDK/blob/master/bin/lz4w.txt
8 bit LZ4 variant https://github.com/emmanuel-marty/lzsa
Gmlb256 wrote on 2021-09-03, 14:19:There are some drivers that enables DMA support on DOS but that depends of the hard disk/CD-ROM controller card and/or chipset on the motherboard.
Useless in non multitasking environment. Main benefit of DMA is ability to work on something else while transfer happens in the background.
ATA-4 (ultradma 0-3) standard and first hardware implementations (PIIX4) landed in 1997, Dos was dying by then. 1995 ATA-2 mwdma2 was same speed as pio4, and worked only on bus mastering controllers (PIIX and two broken PCI ones CMD640/RZ1000 famous for data corruption). Even Windows 95 didnt initially ship a Bus Mastering DMA driver.
Sounds like the OPs problem is not bottlenecks in DOS itself, but pains of using Linux VM to run DOSBOX in.
https://github.com/raszpl/FIC-486-GAC-2-Cache-Module for AT&T Globalyst
https://github.com/raszpl/386RC-16 memory board
https://github.com/raszpl/440BX Reference Design adapted to Kicad
https://github.com/raszpl/Zenith_ZBIOS MFM-300 Monitor
Well, UDMA introduced CRC on the cables.
rasz_pl wrote on 2021-10-11, 09:29:Compress no, but decompression was always faster than disk. 7MHz Amiga/Atari ST/megadrive 68000 does 500-900KB/s LZ4W
Well just to be pedantic, Amiga SCSI controllers can do more than that. My A2000 with a Zorro II card does 2MB/sec.
Useless in non multitasking environment. Main benefit of DMA is ability to work on something else while transfer happens in the background.
Doesn't UDMA still have access to faster transfer rates? PIO would top out at 16MB/sec.
GBAJAM 2024 submission on itch: https://90soft90.itch.io/wreckage
If you shoot yourself in the foot by using a very heavyweight compression algorithm, that just proves you're dumb enough to shoot yourself in the foot.
Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.