News:

Welcome to RetroCoders Community

Main Menu

Recent posts

#61
FreeBasic Tips & Tricks / Re: hx dos extender for freeBA...
Last post by mysoft - Feb 17, 2024, 12:28 AM
yeah it uses the same linker, so it's possible to bind... (and even then freebasic can use -gen gcc to compile using djgpp)

i will test this one... because while hdpmi32 is nice... it makes many tools to thing it's inside windows (for obvious reasons)... and i can't jut rename hdpmi32.exe to cwsdpmi.exe... as that does not work, since the built-in loaded does internal stuff to loda cwsdpmi.exe
#63
FreeBasic Game Dev / freeBASIC Games on Archive.org...
Last post by ron77 - Feb 10, 2024, 06:51 AM
Hello, I've converted two old games of mine that I made back in 2020 in FreeBasic to FreeBasic for DOS and uploaded them to Archive.org to be Emulated there, and they are Playable Online in the Browser.

1. Hacker Game - Text game with sound and music

2. Hikikomori Game - again, Text Game With Sound and Music...

Plus, I Converted my chatbot DANNY For DOS and Uploaded it to be Emulated in Archive.org.

3. ChatBot Danny Dos Version - a Simple Chatbot
#65
I was having issues with cwsdpmi and switched to pmode stub.

pmodstub.exe

Try it. I use it with djgpp.
Can you bind the dpmi to your exe in FB like in djgpp?
If not, there's a TSR version of pmode called pmodtsr.
#66
FreeBasic Tips & Tricks / hx dos extender for freeBASIC ...
Last post by ron77 - Feb 08, 2024, 11:07 AM
hello it seems that using CWSDMPI.exe with freebasic for DOS causes a segmentation fault error (12) when using 'sleep' or 'input' commands

freebasic post on the forum of FB community suggested to use HDPMI32.EXE instead of CWSDMPI.EXE

The Post on fb Forum

Here is the address of the HX DOS Extender Site where you can find HDPMI32.EXE

HX DOS Extender HDPMI32.EXE Site

You load it by typing manually or putting in a batch file or in DOSBox autoexec.bat:

"HDPMI32.EXE -r"

You unload it by:

"HDPMI32.EXE -u"

(all, of course, without the quotes)

HDPMI32.EXE enables the use of sleep and input commands without segmentation fault errors and without causing the program to crash. I've tested it on archive.org with my chatbot in freebasic...

#67
QBasic / Scanline effects
Last post by mysoft - Feb 05, 2024, 03:43 AM
so, since 86box accurately emulates gfx cards... and dosbox-x improved on such low-level emulation (but dosbox-x requires changing the "refresh rate to 20" for some of those to work), i made a few scanline rendering tricks demo in qbasic... (scanline.zip)

1) it's just a simple demo changing a text mode palette every scanline, changing one color to make a hue rainbow on left, and some sequential chopped color on right... the program also shows it's own source code as a text viewer while also playing a music (it's a low quality 1 bit/sample music playing at HSYNC rate, over covox/DSS (i could make it trough PC-Speaker but the scanline effect is what matter :P)



2) i decided to take that to the next level... and made it display a image in VGA/EGA 16 color modes changing palette every scanline to achieve up to 8k colors on the screen, and at same time i made a .bmp converter to generate the special .bmp files with extra information "per scanline palette", but on a regular image viewer you can still see a BW preview of the image.
the (scan640.zip) have some sample images to be viewed in the DOS 640x480x4bpp .bmp viewer, and the generator in freebasic (that can be compiled for dos/windows/linux, as it's all standard)









#68
Quote from: Lucidapogee on Feb 04, 2024, 04:57 AMUpdates!

https://lucidapogee.com/forum/viewtopic.php?t=93
https://lucidapogee.com/forum/viewtopic.php?t=99

There now a DOS Edition (8088 compatible), DPMI Edition (386 compatible), Win32 Edition, and Linux Edition. Still alpha version for now.

The Linux Edition has been tested on various distros.
The DOS Edition has been tested on the Book 8088.

The DOS Edition is compiled with Borland Turbo C 1.
The DPMI Edition is compiled with DJGPP.
The Win32 and Linux Editions are compiled with Open Watcom.

Each edition has almost identical source code and the examples are totally identical. This makes Express BASIC a fully cross platform programming language.

The Linux Edition provides an elf file. I'd like to know how it works on other distros. Let me know.

Very cool!
#69
Updates!

https://lucidapogee.com/forum/viewtopic.php?t=93
https://lucidapogee.com/forum/viewtopic.php?t=99

There now a DOS Edition (8088 compatible), DPMI Edition (386 compatible), Win32 Edition, and Linux Edition. Still alpha version for now.

The Linux Edition has been tested on various distros.
The DOS Edition has been tested on the Book 8088.

The DOS Edition is compiled with Borland Turbo C 1.
The DPMI Edition is compiled with DJGPP.
The Win32 and Linux Editions are compiled with Open Watcom.

Each edition has almost identical source code and the examples are totally identical. This makes Express BASIC a fully cross platform programming language.

The Linux Edition provides an elf file. I'd like to know how it works on other distros. Let me know.
#70
B.A.M / Re: 🖥 Line Color Rotation
Last post by CharlieJV - Jan 31, 2024, 01:27 PM
Quote from: johnno56 on Jan 30, 2024, 07:19 PMSo cool... Nicely done!

Yeah, that was a fun little bit of time well spent.  Nothing complicated, but still kind of interesting to these aging eyeballs.