Hi all!
Here is a little piece. The original ,15 years old, is in QBasic. And now ... well... look like that :biggrin:
The program implement methods from Part 630 Hidrology of National Engineering Handbook, Natural Resources Conservation Service, USDA. The result is in a text file.
There is abundance of macros:
- BASIC instructions
- write??? --> to file
- p??? ---> print to console
- array of variables
- array of structures
- procedures that work like functions under SmplMath
Source is assembled with "AsmC -Znk"
Hi HSE
Nice simulation :thumbsup:
You use SmplMath intensively, which is perfect for this project :thup: It is a pity that it is not used more often.
Biterider
Quote from: Biterider on March 07, 2020, 07:30:51 PM
Nice simulation :thumbsup:
Some kind of nostalgy :biggrin:
Quote from: Biterider on March 07, 2020, 07:30:51 PMYou use SmplMath intensively, which is perfect for this project :thup: It is a pity that it is not used more often.
In 32 bit nothing can beat MASM32-SmplMath-ObjAsm32 :eusa_clap:.
To simplify building, here I removed ObjAsm32 debugging system which is my default:
start:
SysInit ;Runtime initialization of the OOP model
DbgClear
call main
inkey
SysDone ;Runtime finalization of the OOP model
exit
I used DbgFPU a lot here :thumbsup:
Later:
Just to add, in 32bit SmplMath is 100% optimal. That mean that you can write math source code very easy to read and to improve with cero penalties. In 64bit there is at least a posible penalty, and then perhaps is 99% optimal.
Nice simulation :thumbsup: