Ars Informatica
July 19, 2019
Home
Health Care Informatics
Web-based MySQL/PHP Databasing
Programming
Web Development
Favourite Software
Hardware for the Frugal Fanatic
Graphic Design and Image Processing
Free Scripts and Software
About Us
Contact Us
Links
 
 

 Article Feed for this site

PHP micro-script displays PHP, HTML, Javascript code without parsing

May 6, 2006

It's almost embarrassing to release two lines of code as a script - but I haven't found anything similar anywhere else on the 'Net. It displays PHP, HTML, Javascript and other source code direct from file, unparsed, and presents it cleanly and professionally. An image link brands the displayed code, and refers viewers back to the main site.

Complete functionality derives from one simple PHP function - htmlentities() - which converts all PHP, HTML and other tags to non-coding, display-only character codes, without parsing. Too easy.

This PHP script is released under the terms of the GNU General Public License, i.e. free for you to use, modify, and even redistribute under the terms of this license. [ Read more ... ]



On WASM, and other assemblers ...

April 17, 2006

I paid $10 for the registered version of WASM - the Wolfware Assembler - a few years ago: a bargain-basement price for an excellent assembler. In it, Erick Tauck ignored Borland's and Microsoft's insistence that models be declared, that files be LINKed, and the "ptr", "assume", and various other unnecessary complexities one shouldn't be bothered with: assembler's hard enough without them. Even better, WASM version 2.23 is now available for free, courtesy of DOSOnly.Net.

If, however, you're shopping for a more complex assembler, one that'll do 386+ code, protected mode, Windows, MMX, SIMD and AMD's 3DNow instructions, consider Eric Isaacson's A86. More pricey, manual more voluminous, tightest and cleanest code, and this man also disdains the hoops Borland and Microsoft would have you jump through. IMHO the best DOS assembler around, and I say that even though my loyalties lie with WASM...

The most interesting and versatile, is NASM, the Netwide Assembler - an open-source (i.e, free) 80x86 assembler designed for portability and modularity. It supports DOS, Linux and NetBSD/FreeBSD, a.out, ELF, COFF, Microsoft 16-bit OBJ and Win32, MMX, 3DNow!, SSE and SSE2 instructions, and has macro capability. For an assembler, it's relatively simple. It is continually being improved - currently undergoing intensive development - so be advised that it is a work in progress. Still, if I were actively programming assembler at present, it is the one I'd choose. [ Read more ... ]



ScanCode Show delves the system BIOS for keyboard scan and ASCII codes

April 16, 2006

ScanCode Show reports scan and ASCII codes for the now-ancient DOS operating system. While not that useful to most modern programmers, it's a neat little toy for the curious, and illustrates the interaction between low-level code, hardware and operates in ways that the Windows and Mac OS's simply cannot.

ScanCode Show is an old program (written in 1995), coded in assembler, and exhibits just how light such a program can be - calling keystrokes are identified; scan and ASCII codes are presented in hex and decimal, their combined AX value and the BIOS value in hex, in the form of a scrolling display that may be printed out at any time. This, in only 3042 bytes of code.

Both program and source code (for WASM, or Wolfware assembler) are available free of charge. [ Read more ... ]



[ Prev ][ Next ]
Copyright © 2019 Ars Informatica. All Rights Reserved.