flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
MCD
All coded by myself and I think I should make them freely accessible.
post if you have any questions/bugs/improvements. Most of these stuff require 386+ (not all). (sorry for the syntax, but I'm using a kind of "shorthand" ![]() The archive contains: ------------------------ -LOADFONT: loads a user specified font (file) to change the characters to be displayed in standard text mode (via Video-BIOS ints). Comes with an example called "HEXVIEW.FON" which allows to see the DOS-prompt both with standard 8*8 charchters set with additional hexadecimal-info about each character on screen! really amazing! Currently, LOADFONT requires the FULL path of the font-file (I should change this ASAP). The format of the font is simple: offset 0 (byte): number of characters in font 1 (byte): character width 2 (byte): character height 3 (number_of_characters x character_width x character_height shr 3): charcter data 1bit/pixel -NIGHT: switch into APM energy saving mode until any interrupt (keybard, mice etc) -OFF: switch PC off with APM v1.2 -OFFCAD: like OFF, but as an TSR with Ctrl+Alt+Del press plus a HLT-based CPU-cooler (in the DOS-idle loop) -STEX: A TSR that switches standard text mode into higher vertical refresh rates. Usefull when working lot under DOS. (It uses some VESA v1.0 stuff to switch into some higher "DAC-rate" and then enables the user-specific DAC-rates on CRTC register). Works with most tested monitors, but should give problems with small monitors < 15''. -TSCBENCH: A high-precision CPU time-stamp-counter benchmark used to benchmark single/couples of instruction for speed optimization purposes. It uses some special tricks to be even precise under modern PCs (and with removing previleged instrunctions even under Windows DOS-Box). It is single CPU-cycle precise, except when accessing RAM. Full 64bit TSC Calculation. You must just insert the tested instruction between 2 comment lines. Other stuff have already be explained elsewhere by me in this forum.
_________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || Last edited by MCD on 07 Dec 2004, 17:03; edited 3 times in total |
|||||||||||
![]() |
|
MCD
This thread contains stuff that is not published anwhere else.
|
|||
![]() |
|
Matrix
MCD,
don't be like that: Code: OffScrBuf = 200000h;Where image should be rendered in RAM < cute assume RefreshRate = 100 < in 1024x768 ? not all of us have that MATRIX |
|||
![]() |
|
MCD
You're right, but to be honest, you are the first feedback I got to these progs
![]() sorry, the file VESADEMO.ASM wasn't meant to be included in this archive in the first place, since it is to experimental and I have uploaded it somewhere else already. Quote:
This will be fixed soon. Xms memoy detection. Quote:
As already described, lower the value, e.g. 60Hz. If this doesn't work on your monitor, then try a lower VESA-mode, but this will change the actual demo. if your monitor has problems with VESA 2.0+ in general, this code should be nothing to test on your machine. Anyway, this file was included accidentially in the archive. Quote:
Even though I've read this part in RB's interrupt list, none of my test pcs showed any problem. But this should be fixed soon, since this kind of code relies on undocumented behaviours. I must have forgotten this since I've been writing many CMOS stuff yet. _________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||
![]() |
|
MCD
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.