Search found 300 matches

by lassar
Oct 27, 2018 0:48
Forum: Projects
Topic: RadioTelephone Tutor: update
Replies: 0
Views: 628

RadioTelephone Tutor: update

RadioTelephone Tutor is a tutor program to help a person prepare for his FCC exam. Windows program done in Freebasic using a dos like gui. Just updated RadioTelephone Tutor with a portional vga font, improved monospace vga font, and uses hq2x pixel art scaler to improve the looks of vga fonts. Check...
by lassar
Oct 21, 2018 16:44
Forum: General
Topic: Expected identifier, found 'DWORD'
Replies: 2
Views: 382

Expected identifier, found 'DWORD'

Am using this code and got this compiler error. Command executed: "F:\FreeBASIC\fbc.exe" -s gui dish.rc "F:\RadioTelephone-Tutor-Work-Folder\WinTutor-Source-Code\detect-fullscreen.bas" Compiler output: F:\FreeBASIC\inc\win\windef.bi(217) error 14: Expected identifier, found 'DWOR...
by lassar
Sep 30, 2018 19:12
Forum: Tips and Tricks
Topic: Assembly VGA font Print Routines
Replies: 9
Views: 1233

Re: Assembly VGA font Print Routines

You complained about the slowness of non-assembly instructions, and then, you use a dos emulator (likely written in Java, so emulation on an interpreted language) to run your code? My dos program is to be used on a android smart phone, using a dos emulator, Most likely a dosbox emulator. Had to rep...
by lassar
Sep 29, 2018 5:49
Forum: Tips and Tricks
Topic: Assembly VGA font Print Routines
Replies: 9
Views: 1233

Re: Assembly VGA font Print Routines

When you look at most monospace fonts, you'll notice more space between
other letters and lowercase i & L.

I redid the lowercase i & L so that the bottom of i & l is bigger.
by lassar
Sep 28, 2018 17:23
Forum: Tips and Tricks
Topic: Assembly VGA font Print Routines
Replies: 9
Views: 1233

Re: Assembly VGA font Print Routines

This assembly code is good for windows, dos, and linux. For instance, using non-assembly print routines for a raspberry 1 would be way too slow. What processor do you need portability for? I myself have created a dos program, using freebasic, to be used on android smart phones, using a dos emulator.
by lassar
Sep 28, 2018 15:54
Forum: General
Topic: Change the standard vga font?
Replies: 3
Views: 453

Re: Change the standard vga font?

Already have a custom font vga.f16

This one is almost as good as a proportional font.

My print routines to show vga fonts.

What is the format of fnt08x16.fnt ?

Is there freebasic source code available to convert vga fonts to fnt08x16.fnt?
by lassar
Sep 28, 2018 15:44
Forum: Tips and Tricks
Topic: Assembly VGA font Print Routines
Replies: 9
Views: 1233

Assembly VGA font Print Routines

This will print using vga 8x16 fonts on 640x480 32 bit screen. vga.f16 font Download '======================================== ' Assembly VGA font Print Routines ' Released into public domain ' By Randall Glass '======================================== ' ' Screen Resolution 640x480 32 bits ' ' Langu...
by lassar
Sep 28, 2018 2:35
Forum: Game Dev
Topic: List of *FREE* game programming resources
Replies: 76
Views: 83644

Re: FREE game programming resources: Vga Font

Here is a good resorce.

Serif monspace vga font, that looks almost as good as a proportional font.
by lassar
Sep 28, 2018 1:14
Forum: General
Topic: Change the standard vga font?
Replies: 3
Views: 453

Change the standard vga font?

Where is the standard vga font located in the freebasic compiler folder?

Want to change the standard 8x16 font to a custom one.
by lassar
Sep 27, 2018 15:35
Forum: DOS
Topic: What is the best way to debug in dos dpmi?
Replies: 1
Views: 3068

What is the best way to debug in dos dpmi?

What is the best way to debug in dos dpmi?
by lassar
Sep 26, 2018 20:39
Forum: General
Topic: Assembly syntax varable type PTR confusing
Replies: 2
Views: 384

Re: Assembly syntax varable type PTR confusing

Yes "Byte" does work, but since I have had so much trouble with this in the past,
would someone explain the assembly syntax of this.

Where do you put "variable type" PTR in a assembly statement?
by lassar
Sep 26, 2018 14:59
Forum: General
Topic: Assembly syntax varable type PTR confusing
Replies: 2
Views: 384

Assembly syntax varable type PTR confusing

Doing fairly good with assembly, but this assembly PTR is drivng me crazy. Getting a error on this statement. MOV UBYTE PTR [X%], 9 Can never figure out where to put UBYTE PTR: before the comma, after the comma or before the [X%], or After [X%], before the 9 or after the 9. Where do I put UBYTE PTR ...
by lassar
Sep 08, 2018 16:14
Forum: Tips and Tricks
Topic: Html2Ascii: Pale Moon can't do this!
Replies: 0
Views: 835

Html2Ascii: Pale Moon can't do this!

Was trying to get pale moon to save html as text. It was failing on adobe symbol font entries. Created a simple html to text program. The number of html entries in the data lines is just enough entries to get the my html conversion accurate. You might want to add more html entries & ascii codes ...
by lassar
Aug 17, 2018 23:09
Forum: Community Discussion
Topic: What programs can translate C to freebasic?
Replies: 8
Views: 1231

What programs can translate C to freebasic?

With so much C code out there, has anyone done a C to freebasic translator?
by lassar
Aug 15, 2018 19:58
Forum: General
Topic: Anyone done Knuth & Plass text wrapping routine?
Replies: 4
Views: 476

Re: Anyone done Knuth & Plass text wrapping routine?

Found a fairly good youtube video on text wrapping.

Youtube video: Text Justification Dynamic Programming

Youtube video: Principle of Optimality - Dynamic Programming

Go to advanced search