| AccessDenied's Page |
All around is desert and silence... The monkey sits in a palm tree, Staring blankly, Consuming bananas. Why is it so silent?... |
|
|
|
Are YOU
? Personally I like A. Larionov's compilers. Updated
8.8.2000
[ Smal32/DOS ] [ WinForth32 ] [ Small32/Linux ] [ Nostalgia ] [ About me ]
All activity
has stopped until Janus-FORTH is released.
About Real Programmers
Splendid essay about Real Programmers (In Russian,
sorry).
[ Smal32/DOS ]
From New Zealand
A set of files which add ANS-compatibility and a
486-disassembler to Smal32. By Bruce Hoyt.
About target compilers...
After reading messages in SU.FORTH from Dmitry Poniatov about target compilers, I decided
that I needed a target compiler too. In a classic book from Russian Forth-gurus, Baranov
and Nozdrunov, I found some helpful words: A target compiler package must consist of two
parts - a target assembler and a target compiler.
So I made a simple forth cross-assembler for the PDP-11. It is runs on Smal32 of course.
Take a look at its source. It generates an executable file
for RT-11.
For fans of the PDP-11 here is FULL FIGForth-83 for PDP-11 machines. Thanks for your help: Dr.Cactus, Alexandr Ivanov (Kostroma, elite@chat.ru), Michael Smirnov (Kostroma).
The most useful program
I ever wrote. :) It sets minimal delay for an AT-keyboard, so work on slow machines
becomes more comfortable. The DOS-only version (fkey.com) is 8 bytes long. A
second version (wkey.exe) is a hybrid application - it works as a native
application under both Windows and DOS. It is 553 bytes long. Both versions do not work with XT-machines because they don't
have an AT-keyboard or an AT-BIOS. One person reported problems with this program, but I
don't believe his report - the program consists of only one documented BIOS call :)
Army TETRIS
Here is it's history: When I was in the army, at times it was very boring. I had a
486DX-66, 8 Mb RAM, and HGC graphics card. But I had no games that worked with the HGC.
But I had Smal32! :) What else does a programmer need? I obtained the source for TETRIS
from a public compiler and ported it to Smal32. Now you can get it from here. In this way Larionov helps people to survive in an
opressive environment! :)
Sadly, when it is compiled under DOS, it won't work under Win 3.11, and when it is
compiled under Win 3.11, it won't work under DOS. Under Win95 it doesn't work at all. I
think, this is a bug in KEY or keyboard input.
Running lights
on an AT-keyboard. Make "running lights" using the "Num Lock",
"Caps Lock", "and Scroll Lock" LEDs. Source.
Someone got an idea to use one LED as a strobe and the other two as data-lines. In this
way we can transfer 2 bits at each pulse from computer without floppies, networking cards,
RS-232, Centronics, USB etc. using only a standard keyboard.
[ WinForth32 ]
Do you know?
That WF32 can generate an executable file for the famous "Hello, world!" example
and it is 1,5 smaller than that generated by MASM.
File I/O in WF32.
It differs a little from file I/O in Smal32. See source.
BTW, why do we like WinSock?
Because of the built-in gethostbyname() in wsock32.dll. When I try to
program something in Small32/Linux I find that gethostbyname() is part of a
very fat Libc. Now we waiting the release of Janus in order to avoid that difficulty.
ProtoSpy
A little program, written to study IRC. It outputs
on the console all IRC tarffic. It requires 3 parameters: <host>,<server
port>, <our port>. Host and server port can point to an IRC or HTTP
server, or BackOrifice :) The client will connect to <our port>.
EXAMPLE: Assume in LAN I have a box named xylo.lan.com
with a dial-up connection to the internet and also connected to a LAN access.lan.com
box. I have no proxy in LAN, but I want talk in chat mschat.msn.com:6667
from the access.lan.com box. So I start my program on xylo.lan.com
as follows: PSpy.exe mschat.msn.com 6667 6668. Then from access.lan.com
I start the IRC-client and login to xylo.lan.com:6668. I
now have IRC-traffic on my console and can easily redirect it to a file.
--------------------
I don't yet understand "nonblocking sockets" very well, so my program hogs CPU
time. I'll be glad if anyone can help me with information about "nonblocking
calls".
My method of handling command string arguments
is found here. This works well under both WF32
and Smal32.
PortScanner
A clear and well-commented example of how to work with WinSock. ZIP
with source files.
Screensaver password
Windows has irritating security. This may help you :)
[ Small32/Linux ]
About INT 80h ...
I need TCP/IP to make some distributed calculations. I can use any language to do this
work (VB, VBA, VC, Delphi etc.), but as a forther, I decided to use Small32/Linux or WF32.
At this moment I haven't written the program, but some aspects of Linux assembler
programming via INT 80h have become clearer. Thanks to Youry Sysoev and Dr.Cactus for your
help. If you are interested in how to call the INT 80H kernel function in Small32/Linux
look here.
My E-Mail