VOGONS

Common searches


DOS Development Forum?

Topic actions

Reply 20 of 27, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Such a forum would be interesting, I believe.

Errius wrote:

Is Usenet still a thing?

Is it like FidoNet ? Not sure, was before my time, sorry.
I still experienced the last few years of X.25 networks, though..
Before everything around the world got TCP/IP-ed.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 21 of 27, by SirNickity

User metadata
Rank Oldbie
Rank
Oldbie

I would like this too. I learned C with gcc on Linux, and would love to pick up DOS and early Windows as well. There are a lot of problems that could be solved by some fairly simple development projects I think, and Google is such a millennial when it comes to looking up DOS programming info. "What? 16-bit DOS? Why would you want to use that? Why not check out python instead? It's super cool!"

Reply 22 of 27, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

as I said earlier, VCFED has a vintage/retro programming forum and a lot of members who know old coding tricks..

just saying..

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 23 of 27, by DosWorld

User metadata
Rank Newbie
Rank
Newbie
keenmaster486 wrote:

This sounds interesting, is there a download link somewhere where I can try it out?

I am not ready to make "release version" (full version with sources, because I want implement many things - so, by my opinion, its unfinished), now. It is more near to "proof of concept".

Few words, about what is this.

This is Tiny Basic-style compiler for 16-bit real mode (this is not port - my own implementation). So, this is Basic language from 197x - without string variables, required lines number, just 26 integer variables 16-bit (variable has names A .. Z). Successfull ported very old game "THE KINGDOM OF EUPHORIA". 😊

Also, available multi-threading, thread-local memory (like 4kb per thread) and global memory (visible for all threads) and XMS memory (avaible thru 4kb window). You can use memory via PEEK/POKE (see DOC folder), Basic-byte code work into Virtual Machine (like java) but have fast native-libraries (I call it "dll") which I wrote into C-- (language between C and ASM). To got more speed - I am prepare "dll" for each type of processor and put it into .LIB.

What "target group" 😊 for this compiler? I had hope, its not bad for small game development.

Supported video modes:
320*200*4, gray, (native - Hercules / CGA / VGA mode 640*200*2 black/white mode)
320*200*4, color, CGA / VGA, 2 palette.
320*200*256, color, VGA

Note: All graphics output goes via double-buffering trick, so You will see nothing, until call GRAPH.SHOW.

SoundFX - supported for Sound Blaster Pro / 16 into U8, VDM mono formats. See DOC folder - available few words in documentation how to convert WAV to U8/VDM with FFMPEG.

SoundFM - not supported, now. (TDB!)

Mouse - supported.

Most advanced example - check ARKAN game into archive. This game works for all type supported video-cards (use multithreading for video effects!) and play sounds.

All compiled .EXE support "setup mode" - try command line switch /S. It will be usefull for graphics games (also "setup mode" will be executed if remove CONFIG.INI file).

Whats about speed? I am check ARKAN-game. In default DOSBOX speed it is slow. I think, this is 386 cpu speed level. I try play on my real hardware - Pentium 100 and game works enought fast.

PS: big .EXE - because it contains lot of drivers compiled for different cpu (8086, 80286, 80386, Pentium). You can check it, type in command line something like "AR L GRAPH.LIB" (or choose other library), Also, my idea - include everything into one .EXE (drivers, graphics, sprites, sounds), so to distribute game will be enought only .EXE. In future, I'll add LZW-compression for compiled EXE (I am already had my own implementation of LZW, and want add GIF support also).

PPS: Archive contains: compiler, linker, lib-tool (AR.EXE), sprite editor and palette editor. Main graphics format for images - PGM (one of "netpbm" format group). You can edit this type of images with GIMP (not included). Also, PGM is pretty simple format - You can "draw" picture in any text editor (and convert to binary-PGM to reduce size or continue use plaintext-PGM). Also, I am include converter PCX -> PGM.

PPPS: Known bug - Sound Blaster support (PRO and 16) - does not came IRQ into DOSBOX (on hardware - works). So, on big files, play music stops, when make step over 64K memory page (I try to fix it, now).

PPPPS: Some language exceptions: changed syntax for INPUT: LET A=INPUT(), also have no special syntax for "PRINT;" (PRINT is avalilable, but have no ;).

Typical program looks like:

10 LET I=0:REM Initaialzation
20 GOSUB 500:REM Main cycle
30 LET I=I+1
40 IF I<10 THEN goto 20
50 END:rem end of programm

500 PRINTLN "SIN(",I,") = ", SIN(I)
510 RETURN

Attachments

  • Filename
    lefibn.ZIP
    File size
    780.26 KiB
    Downloads
    61 downloads
    File comment
    EBasic Compiler with tools, examples and docs, "Preview" Version (alpha)
    File license
    Fair use/fair dealing exception

CPU: Amd K6/450, RAM: 256M, VIDEO: S3Trio V+, SOUND: EWS64XXL/64M
CPU: iP/100, RAM: 16M, VIDEO: S3Trio V+, SOUND: SB AWE32
IBM Aptiva, CPU i486DX/80, RAM: 96M
Compaq Contura 4/25 2820D, CPU: i486SX/25, RAM: 4M, VGA.
HP 200LX/2M

Reply 24 of 27, by DosWorld

User metadata
Rank Newbie
Rank
Newbie

Known bug - Sound Blaster support (PRO and 16) - does not came IRQ into DOSBOX (on hardware - works). So, on big files, play music stops, when make step over 64K memory page (I try to fix it, now).

Now is fixed. So I have a question (for myself and to all): make full release (put it on github) now or continue till fm-sound/midi-library will be done and write few small games (put as examples).

CPU: Amd K6/450, RAM: 256M, VIDEO: S3Trio V+, SOUND: EWS64XXL/64M
CPU: iP/100, RAM: 16M, VIDEO: S3Trio V+, SOUND: SB AWE32
IBM Aptiva, CPU i486DX/80, RAM: 96M
Compaq Contura 4/25 2820D, CPU: i486SX/25, RAM: 4M, VGA.
HP 200LX/2M

Reply 25 of 27, by retardware

User metadata
Rank Oldbie
Rank
Oldbie

I'd like to second the request for a purely software-development oriented [sub-]forum.

The number of posts will be far smaller than in the hardware-oriented sections, and as others already stated, this would make any attempt to discuss software development things futile because those threads will land relatively quickly on some page much behind, factually getting lost.

Reply 27 of 27, by krcroft

User metadata
Rank Oldbie
Rank
Oldbie
keenmaster486 wrote:

Admins, please hear our pleas!

In a couple weeks it will be a year since this thread was created.

Mods: is there anything preventing you from creating this?

If you don't have the rights to create it, then who does? And finally, what steps (if any) are needed to make it so? ie: do mods need a majority vote? Is it at the whims of one person? Please help.