flat assembler
Message board for the users of flat assembler.

Index > Main > Examples needed!

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Feb 2004, 20:16
Bitdog wrote:

http://bitdog.home.att.net/files/fasmenv.zip
???? Where did I go wrong???? Suggestions are welcome,
I know its fraut with errors, that I find and fix daily,
but I was hoping for an overview to help aim my direction.....


Hi Bitdog.
I try your package, but it is too big and I have too little time, so... just several preliminary notes: Smile

1. It wants to be installed on c:\ - it is big inconvenience for many people. Better make it to work from everywhere.
2. It is too modular for me. (just my opinion). I am used to highly integrated systems - even for DOS (actually I use FASMW (and now Fresh) for writing DOS programs and everything is OK.)
3. One question - are all of included tools free for distribution? (freeware, open source/GPL)? Also, I saw that some of the tools are GPL but there is no source or link where this source can be downloaded. (and this is in violation with most of the open source licenses.)

Please, don't be angry on my opinion, I am sure there are people that like to work with console, so they will like your package. It is very rich and I will check it more detailed in the near future, not because of tools, but because of sources. Smile

Regards.
Post 14 Feb 2004, 20:16
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Bitdog



Joined: 18 Jan 2004
Posts: 97
Bitdog 15 Feb 2004, 05:22
GPL licence?
E16.com editor states it can be freely distributed seperately from it's .zip,
if the .txt file is included intact, and it is.
I just added a quickie key help.txt

Fasm.exe I'm not hiding, what with posting here and all.
if there is a problem, plz let me know & I'll fix it.

Insight.com debugger is dead.. It's so old and it was broken when I got it.
The GPL notice that came with it, didn't comply with it's own zip,
there was no link to source. I had to hunt for a copy and found it via a
friend that gave me a copy. So there is no link anywhere to the source
that I know of. It's broken because it has ARGV at 81h (off by 1)
I fixed that, but it has an 8086 disassembler and SP is incremented
after/before the push opposite of any 386+ CPUs
the txt file was in Russian and I can't translate it.
I got a translated copy and it was unreadable, so I fixed it as best I could.
I can share copyies of the source code I have, but I only altered
a couple things so It's basicly the last version put out by Insight makers
freely available on the net, in old archives.
I hijacked the vertical retrace code, made it a function, and called it from a
loop to delay the port beep signal to something hearable on modern CPUs.
But that's the extent of my fixes. ARGV & BEEP
The beauty of Insight is its screen/interface,
I can alter the values of CS:IP by typing in any numbers,
alter data in a hex dump window, (like change code to NOP for dis win view),
alter flag bits to alter conditional jumps during debugging,
View memory anywhere,
see any regs/flags that were altered during an instrction,
view the code in a proc before I trace into it so I can step over it if I want,
then return with out actually running the proc,
view the code at the address of a jump and return with out actually jumping,
I mean, it's just beautiful in that respect.
BETTER THAN ANY OTHER DEBUGGER.
BUT, it was an attempt to make a buck$ and so they encrypted
it alot, then made the code GPL without removing the encrypting,
and it's not commented, there is no overview.
They just lost interest and gave it away, but attached the GPL curse.
No one will ever want it because it's doesn't work.
I can use the interface, it's small, so I included it.

BUT, all my stuff is totally free,
take my name out and put yours in if you want.
Make your own fasm environment from anything usable in mine.
Use any of my procs in any library with out asking.
Any commercial use or what ever is ok.
It's free, and free means that there are no restrictions attached.
I have tried to gather code from any free source to make my free stuff,
Ralf Browns int list, intel docs, any example, listed as free, etc.

I'm sure I've made some mistakes though....
But where ?, is what I'm asking......?

I will try to make any requested improvements to my code
and make it available in the next free fasmenv.zip version

Please feel free to speak freely, I choose not to be insulted,
so open honest conversation, even blunt is just fine with me,
and perfered actually.



------------------------------------------------------------
JohnFound:
1. It wants to be installed on c:\ - it is big inconvenience for many people. Better make it to work from everywhere.
2. It is too modular for me. (just my opinion). I am used to highly integrated systems - even for DOS (actually I use FASMW (and now Fresh) for writing DOS programs and everything is OK.)
-------------
1. I don't know how to make it so it works on any drive, the
include "path\filename"
is hardwired into the code, so a computers environment variables
don't have to be altered.
Only PATH= in autoexec.bat needs C:\FASM; added
I suspose I could make some attempts at hardcodeing include files
with drive left off? But how?
-------------------------------
2. I don't even know what "modular" is, and "integrated" what?
-------------------------------
My goal was free unhidden code, so it could be it's own description as in
a picture is worth a thousands words
and code in a library needs a description file,
the file never paints the picture of the code bettern than the code itself.
Especially commented code.
You can't move a file from a library into your working directory and alter
the code to make it do the specific tasks your program requires.
With mine you can. With a library you can't.
You can't learn from it or improve it in a library.
I lost too much source code working off a ramdisk,
so I don't program in Win (= DOS with a GUI on a RAMDISK)
That keeps me from access to modern Win tools. (sigh Sad


Bitdog

Here's a programming exercize 4 ya,
try 'n make something as funny as this Win gibberish.

http://www.commiellama.co.uk/files/alcohol.zip
Post 15 Feb 2004, 05:22
View user's profile Send private message Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 03 Mar 2004, 23:05
You can download my 256b intros at http://www.tylerdurden.net.ru/ . All of them written in fasm.
I'm currently write a 512b OpenGl intro in fasm, so sources are soonly be there...
Post 03 Mar 2004, 23:05
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 06 Apr 2004, 17:07
I have postponed making the examples section until the official 1.52 release, because of some small changes (mainly in Win32 includes) that could affect the example sources. And now I need to adapt all the examples to compile correctly with the fasm 1.52 and the new Win32 includes. I can do it myself, but it would be better if you (I mean all the authors of already posted samples) have done it and repackaged your programs with the following rules:

  • The archive should be .ZIP for DOS and Win32 examples, .TAR.GZ for Linux examples.
  • It's preferable for the .ZIP files to contain all the files in the root, while .TAR.GZ should contain packed directory.
  • Package should contain some readme.txt or readme file with the information about the author, the purpose of program or even about used algorithms and data structures; if there is no such file, all that information should be provided in the comments at the beginning of main source file.
  • All sources should compile correctly with fasm 1.52, in case of Win32 programs it would be the best if they compiled with the latest includes (provided in the fasmw 1.52 package) with some "private" extensions if necessary. If they use some other includes, all files that are not available in the official 1.52 package should be packaged aswell.

If you do it this way, it will help me greatly in assembling the new examples section. Also please give me information what note about author would you like to see on that page (your surname, or your nickname, etc.).
Post 06 Apr 2004, 17:07
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 19 Apr 2004, 07:42
comrade, can you post you extended include package? It would be at least included in package with your Win32 examples, or I could even make some additions to the includes in FASMW package.
Post 19 Apr 2004, 07:42
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 20 Apr 2004, 02:34
The includes are here:

http://www.comrade64.com/sources/includes.zip

If it is much needed, I can convert those above examples to new include files (those since 1.52). I would think that would be needed, since it would be quite a hassle for someone to set this all up using old includes.

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 20 Apr 2004, 02:34
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
gorshing



Joined: 27 Jul 2003
Posts: 72
Location: Okla, US
gorshing 22 Apr 2004, 00:32
I have been reading http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/ and writing some of it in C/C++.

I have also started to write it in fasm. I would think that this would be neat to have as an example. Should I get some things together and post what I have?

Basically I'm just linking with a library, just like what bazik did with the GTK+ examples ... pretty simple stuff.

_________________
gorshing
Post 22 Apr 2004, 00:32
View user's profile Send private message Visit poster's website Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 23 Apr 2004, 04:53
Yes, please post what ever you have Smile
Post 23 Apr 2004, 04:53
View user's profile Send private message Visit poster's website Reply with quote
Cas



Joined: 26 Feb 2004
Posts: 82
Location: Argentina
Cas 24 Apr 2004, 07:16
Confused Would my ISR loader serve as an example?


Description: Support, the ISR handler.
Download
Filename: SUP100.ZIP
Filesize: 8.29 KB
Downloaded: 418 Time(s)


_________________
«Earth is my country; science is my religion» - Christian Huygens
Post 24 Apr 2004, 07:16
View user's profile Send private message Yahoo Messenger MSN Messenger Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 30 Dec 2004, 21:31
I can translate (hardly Smile because of the great amount "russian movies' jokes" or something (that's was so funny when Stylus 2.0 crashed on translating words "пришить бы вас, да возится не охота" =)))) my FASM OpenGL tutorial if you like it (I think Privalov can read russian Smile this is russian lastname btw. Smile)

_________________
Image
Post 30 Dec 2004, 21:31
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.