The MASM Forum Archive 2004 to 2012

Project Support Forums => The GeneSys Development System => Topic started by: PBrennick on July 15, 2006, 03:21:38 PM

Title: Project GeneSys
Post by: PBrennick on July 15, 2006, 03:21:38 PM
Welcome to Project GeneSys.  Please be patient while I get things going, here.  This project, while similar to masm32, is really a separate and unique project.  The goal of this project is to provide an area to help beginners in assembly program come up to speed.  In this area, please feel free to post any code you have problems with and you will get patient, helpful advice.  The posting of code that does not work or generates errors is encouraged.  The only requirement that I will make of my userbase is, if you expect help, you need to post the entire project.  Remember, since you have generated the problem, you are the last person who should decide what portions need to be seen.

Paul
Title: Re: Project GeneSys
Post by: Vortex on July 15, 2006, 10:19:16 PM
Hi all,

Welcome to our latest project aimed to help coders who are making their first steps in the assembly language. We encourage members of the forum to post here every kind of interesting examples, tools,ideas which can help to promote the aim of the project. You know the famous Chinese saying : Every long journey begins with a single step and we would be gratefull to people who could join us in this long journey.

Erol
Title: Re: Project GeneSys
Post by: James Ladd on July 15, 2006, 11:29:07 PM
I can't think of two better guys to team and provide this incubator !!
Well done.

I'm still a beginner and I look forward to seeing what you come up with.
If this sort of post doesnt fit then I dont mind if you remove it.
If a web site is needed please let me know. Maybe a sub page to one of
mine can be used.

Good luck !!

Keep well,

Rgs, James.
Title: Re: Project GeneSys
Post by: PBrennick on July 16, 2006, 04:54:50 AM
James,
A website is a problem.  I had not thought I would get an offer so quickly.  On my own website, I have some bandwidth restrictions which I have been thinking might be a problem.

What do you have in mind?
Paul
Title: Re: Project GeneSys
Post by: James Ladd on July 16, 2006, 06:03:10 AM
PB,

What sort of restrictions do you have?
I have some space and bandwidth that is just not used so Im happy for you to
use it.

Make a plan of what your doing, when and how and Im sure we can work something
out. Maybe just a web page your end that re-directs to a sub-page my end.

Rgs, James.
Title: Re: Project GeneSys
Post by: Ghirai on July 19, 2006, 10:06:08 PM
Nice work guys  :U

Perhaps you should make this topic sticky.

Paul, if you have bandwidth issues, i can help (ftp access, sql, php, the standard stuff); pm me.
Title: Re: Project GeneSys
Post by: Mark Jones on July 20, 2006, 10:22:44 PM
Nice work! But, this still feels very much like MASM32. If I may make an observation, the Iczelion tutorials function well enough for (some, maybe most) beginners to start coding simple applications, but historically these files are not a complete tutorial system per se, nor were they meant to be (hence the advent of GeneSys?) I bet a majority of potential ASM programmers simply disappear because they think it is too difficult to learn (I did for nearly 25 years!) The closest thing we currently have to an actual Win32 assembler tutorial is the Iczelion set, but they are really more like a large set of examples with explanations, than a real tutorial. They don't explain any of the mnemonics and how they work, just outline practical code. This "overview" style of learning may be fine for some, but from my experience nothing beats hands-on learning from the beginning. (Ratch is probably smiling right now...) :bdg

I for one, have a difficult time learning by reading and even learning by following-along. I must DO something new to learn it, not see it and read it and memorize it. I read and see so much text on a daily basis that my brain has developed a permanent L1 cache just to buffer it all - which resets every night. If I have to write the code myself, using steps I have learned previously, then typically I learn quite well. The majority of educators in recent years have shifted teaching methods from reading and writing to videos and lab excercises, precisely because of this reason: we learn better by seeing and doing rather than reading and memorizing. (We still are monkeys, after all... "monkey see, monkey do!") :P

Therefore, since GeneSys is still in it's infancy stages, perhaps now is the best time to think long and hard about exactly what this package will achieve and wether or not it is going to be a revolutionary tutorial. Not to say that examples are invaluable or to overstep my bounds, but if the Devs have the choice, perhaps they should consider actually making an official, hands-on, full-fledged assembler-language tutorial, working up from all the basic opcodes to the highest-level constructs. This will finally explain all the ins-and-outs of HOW the system works and WHY it works, instead of just providing a collection of code snippets which do things but rely on you believing someone else's interpretation of HOW and WHY they work. That's indirect-learning, at best. In short - put the assembler in the hands of the student, give them tips about what to do and how to do it, but make them do all the work (and thus, reap all the rewards.) :U

As ironic as it sounds, I belive that making the most fabulous library in the world is only going to hinder the student, because they are not learning what you learned making that library! Give them just enough simple tools to complete a task, and gradually introduce more material.

To accomplish this, think of what would be needed to move from an example-based learning method to lab-based learning. Here is a speculative list of considerations:

1. First, a short but concise guide about what the x86 processor is and how it works. Just enough to explain what registers are and how memory is accessed, with a quick overview of DOS and Win32 differences. Leave the rest of the details for later.

2. There'd need to be an interactive opcode tutorial, starting with the most basic instructions. Say, something that asks how to add one to AL - say you try "MOV AL,1" and it responds "Incorrect! Answer: ADD AL,1". More advanced levels would include filling in missing instructions, using the stack and FPU, indirectly addressing memory, etc. It could even be made into a game, like Wheel of Fortune, Jeopardy, or Tetris. This could be an extremely powerful learning tool even for the advanced among us.

3. There would need to be a simple, yet fast and efficient way to compile, run, and debug code. Batch files are not user-friendly! Something like an IDE but with a command-line parameter window, code window, and a big "GO!" button. The student can change the parameters, enter some code, and try to compile it instantly for very rapid development cycles. Tutorials could be incorporated into this "IDE" also, and the user could read a tutorial, modify the tutorial code or complete blocks of (intentionally missing) code, and quickly test their efforts. When a student begins writing actual projects, they will already have a feel for many of the full-fledged IDE's out there, or should have little problem crafting a valid makeit.bat.
Title: Re: Project GeneSys
Post by: James Ladd on July 20, 2006, 10:31:56 PM
Mark, Maybe you could assist the project with your suggestions?
Title: Re: Project GeneSys
Post by: PBrennick on July 21, 2006, 01:21:09 AM
Thanks Mark,
Very nice ideas but on a broad scope.  Maybe too broad for Vortex and myself, so perhaps I am doomed to failure.  Still I will try.  You may have noticed that there is an API tutorial Child Board?  Whenever I can, I work on this because all that is available is for C, right now.  So I do see a need.  All my life as a professional, I have always gone where I am led and this has always reaped dividends.  Personally, I think 'you' could do some of this.  Maybe a framework or an outline?  Then the two of us could give it life.

Paul
Title: Re: Project GeneSys
Post by: Mark Jones on July 21, 2006, 08:42:17 PM
Well, I'm sure that if a few of us started working on a proposal of this scale, undoubtedly others would follow... but great things take time; and they should take time, so they can be done right. Keep in mind that the above is just some ideas, nothing more, so please take it with a grain of salt. :wink

I have quite a busy schedule right now, but this project is becoming too interesting to sit by and watch idly from the sidelines. If you've got an open spot (and can tolerate all my crap) then sign me up! :lol

James, I guess it is pretty easy to talk big about conceptual ideas... but sometimes you have to "step outside the box" and really look at things from afar. I've had this idea for an "assembly instruction tutor" program stuck in my head for over a year now, and it just keeps resurfacing. It amazes me that nobody has made anything like this yet. In the big picture, we as a community NEED something like this to attract and retain new blood (members). I'd love to build this app, complete with fancy OpenGL graphics and whatnot, but I simply don't have enough skills for that. Maybe I could, however, make a console or GUI version. But for one person to tackle a GUI app like this alone, would take quite a long time. First and foremost, we need a plan. A common goal. A framework.

I'm a firm believer in the idea that a house can be made better by tearing it down and rebuilding. Sure, it's a lot of work, but you can fix any defects you had with the house and improve it greatly. I feel the same about assembly programming - there should be a full-fledged tutorial available which starts from scratch. Tear all these examples apart, and allow the student to rebuild them from scratch. Then, they will learn assembly language . :thumbu

And Paul, never under-estimate your abilities. I've seen you write code that just blows my mind. And I believe in you. All of us here are very talented individuals who can achieve anything, if we only put our minds to it. :bg
Title: Re: Project GeneSys
Post by: PBrennick on July 22, 2006, 01:55:39 AM
Mark,
Thank you for your nice words.  I am excited by the fact that you wish to join the DEV team.

About your ideas, one of my passions is putting these things together as webpages.  take a look at the GeneSys Project Home Page (http://x86assembly.codegurus.org/).  Click on the Tutorials down arrow and read What is a Procedure? and Why Preserve Registers? (this one needs a little tweaking to show the option to use USES.  I think this is what you are talking about.  So if you want to see your dream come to life, write some text files where one topic=one file and send them to me.  I will convert them to HTML/XML and add them to the webpage.  These will also show up in the child board above.  I am working on that right now.  We will work out how everything will finally de distributed as I believe it must be portable.

The notes on using an Edit Control will be added to the list.  Every two weeks (I think), I will change that or else I will set up a randomizer.

Don't worry about just sending a text file.  This iwill free you up for the thought process. As far as writing HTML/XML, I can do that in my sleep.

Ramon Sala has given me permission to add his IDE into our project.  This is a welcome addition.  Thank you, Ramon!  For those of our userbase who prefer to use Ketilo's excellent IDE, the GeneSys Project will always be a separate download and will be usable with Ketilo's IDE.  Ramon and I have worked and cried together (and beaten our heads against the wall sometimes) for years.

Paul
Title: Re: Project GeneSys
Post by: IAO on July 22, 2006, 08:28:05 PM
Hi to all:
Remember that I am of Spanish speech.

Sir: PBrennick  
I hope that you recover well.  :wink

I am astonished, with this section of forum.

Sir Vortex  and you. Idea of you two, is wonderful.
It is very important for us (Inexperienced).
You will help many people. Equal like Randall Hyde  helps many people, with the great AoA.
Please, you do not leave it.
To the measurement of your time, sum more life to this space.

Congratulations. * (1 million)  :clap:

Bye ('_')

Title: Re: Project GeneSys
Post by: Vortex on July 22, 2006, 09:36:12 PM
Hi IAO,

Many thanks for your interest and nice words. About the English language, take it easy. Like you, my native language is not English. Please, feel free to post here your comments and suggestions. You are always welcomed to post here your questions, thanks for your support.
Title: Re: Project GeneSys
Post by: James Ladd on July 22, 2006, 11:40:51 PM
Wow, Vortex, Paul and Mark. Such great work and energy is a great thing to see.
Title: Re: Project GeneSys
Post by: PBrennick on July 23, 2006, 02:36:05 AM
IAO,
Thank you for your nice words about our project and my health.  Yes, I am recovering very well.  I guess it is evident!

James,
We are having fun and helping people, what could be better?

Paul
Title: Re: Project GeneSys
Post by: jdoe on July 25, 2006, 02:02:18 PM
Hi,

After giving a look in \def folder and at Build.bat I couldn't resist to rewrite this batch to avoid having to type all the *.def in there which is IMHO not necessary.



@ECHO OFF
ECHO.

FOR %%L IN (*.def) DO (
DEF2INC.EXE %%L
..\bin\POLIB.EXE /MACHINE:IX86 /DEF:%%L /OUT:%%~nL.lib)

ECHO.
MOVE /Y *.inc ..\include\
ECHO.
MOVE /Y *.lib ..\lib\
ECHO.

ECHO The package has been successfully installed.  Enjoy!
ECHO.

PAUSE



Title: Re: Project GeneSys
Post by: PBrennick on July 25, 2006, 04:39:51 PM
jdoe,
DOS is definitely not my strong point, as you can see. I will test that and will definitely use it.  I like the look of it, nice and clean.  Many thanks for this help!

Paul
Title: Re: Project GeneSys
Post by: jdoe on July 25, 2006, 05:33:51 PM
Quote from: PBrennick on July 25, 2006, 04:39:51 PM
jdoe,
DOS is definitely not my strong point, as you can see. I will test that and will definitely use it.  I like the look of it, nice and clean.  Many thanks for this help!

Paul


In fact, it's not really a problem to add new lines into Build.bat when there is new *.def but having a batch for all, that you don't need to edit, make it easier when you add new def in the folder and it avoid typo error (missing *.inc or *.lib).

Feel free to use or change it as you wish.

-------------------------------------------------------------

I read the posts in the "Project GeneSys" as they appears and I notice that the project seem to taking shape as the time go by. I could be wrong but wouldn't be better to define the project at the beginning and build around that limit instead of building the limit around the project. I feel that GeneSys will take few directions before finding the good one. This is my feeling.

Anyway, you guys have lots of experience and you know what your doing.

I'm waiting to see the advantage over MASM32. Good luck.

Title: Re: Project GeneSys
Post by: Mark Jones on July 25, 2006, 07:26:37 PM
Quote from: PBrennick on July 22, 2006, 01:55:39 AM
Ramon Sala has given me permission to add his IDE into our project.  This is a welcome addition.  Thank you, Ramon!  For those of our userbase who prefer to use Ketilo's excellent IDE, the GeneSys Project will always be a separate download and will be usable with Ketilo's IDE.

Thanks Ramon! :)

Just to mention, I have been working on a RadASM profile for Genesys and it is nearly complete. It should be ready shortly.
Title: Re: Project GeneSys
Post by: PBrennick on July 26, 2006, 11:20:47 AM
jdoe,

Quote
I'm waiting to see the advantage over MASM32.
I think you have gotten confused, here, as there will be no advantage over masm32, or over any other package that does a similar job. The GeneSys project is targeting beginners and it will be not a clone of the masm32 package. One of the main differences with the masm32 package is that we are going to supply an IDE, Easycode. We are also including the templates used for integration with Radasm. The second one: we will be putting some interesting tutorials to specificly support beginners to Assembly Language programming. There might be some resemblances with Hutch's work but almost all the various assembly packages that do the same job are providing similar material: run-time libraries, include files, editors , example codes, manuals etc.  These similarities will always exist and should not be seen in any other context than the one that I have just put forward

Thank you for your contribution to our project.  Everyone who contributes something will be making this a better project.  'You' have made this a better project.

Paul
Title: Re: Project GeneSys
Post by: jdoe on July 26, 2006, 04:35:18 PM
Quote from: PBrennick on July 26, 2006, 11:20:47 AM
Thank you for your contribution to our project.  Everyone who contributes something will be making this a better project.  'You' have made this a better project.

That was a small contribution but if you look at http://www.masm32.com/board/index.php?topic=5338.0, I post few string functions that could be a more valuable contribution. All of them return the character count which is IMO a must.

Title: Re: Project GeneSys
Post by: Vortex on July 26, 2006, 04:58:14 PM
Hi Jfoe,

Thanks for your algos. The functions handling UNICODE strings are very usefull. Can we put your functions to the package?

Title: Re: Project GeneSys
Post by: jdoe on July 26, 2006, 05:25:53 PM
Quote from: Vortex on July 26, 2006, 04:58:14 PM
Hi Jfoe,

Thanks for your algos. The functions handling UNICODE strings are very usefull. Can we put your functions to the package?

Vortex,

If they are useful for your package, of course you can.
I will look in my library if some of my other functions could fit your package.

Functions like...

GetParentFolderA / GetParentFolderW
GetPathExtensionA / GetPathExtensionW
GetPathNameA / GetPathNameW
BrowseForFolderA / BrowseForFolderW
BrowseSaveAsA / BrowseSaveAsW
SetClipboardText
GetClipboardText


I'll post them this week-end

:U



Title: Re: Project GeneSys
Post by: PBrennick on July 26, 2006, 05:58:45 PM
jdoe,
Thank you for your help.  We all appreciate it.  What you said about character count (so as to prevent buffer overrun).  You have a good point and a good method, there.

Paul
Title: Re: Project GeneSys
Post by: Mark Jones on July 26, 2006, 06:19:27 PM
Yes jdoe, those are definitely useful. Thanks for sharing. :U
Title: Re: Project GeneSys
Post by: gabor on September 18, 2006, 02:48:15 PM
Hello Project GeneSys!


I would like to contribute too. Although I still have some projects in the making I have some releases as well that may be interested for this project:
- Automaton library including finite state machine and extended state machine.
- SAX like XML parser library (will be improved by DOM parsing).

Both projects zipped can be found in this thread:
http://www.masm32.com/board/index.php?topic=2173.0
The zips should contain explanatory documents too.

I am working on a library of linked lists and linked arrays, when ready I would offer them too.

Greets, Gábor
Title: Re: Project GeneSys
Post by: PBrennick on September 18, 2006, 08:52:39 PM
Gabor,
I have been following your posts on FSM for some time now as it is something that interests me. We communicated using my Rifleman account.  Having said that, though, I am sorry to say that the GeneSys Project is geared towards individuals who are new to assmbly language programming and, as you well know, FSM is an advanced concept.

Still, you 'can' help if you so desire.  Look through your archives, do you have any useful functions that would help others?  If you do, I will add them to the library.

PBrennick (and Vortex) for the GeneSys Project
Title: Re: Project GeneSys
Post by: zcoder on September 19, 2006, 11:51:29 AM
I have 1000's of code that would help, But I have no Idea of the layout of IDE's like , Easycode or RadAsm
So I don't know how to convert them to these IDE's.


Zcoder....
Title: Re: Project GeneSys
Post by: PBrennick on September 19, 2006, 12:35:41 PM
ZCoder,
While it is nice that these IDEs support GeneSys, we are not bound by them.  So if you have thousands of code, why don't you post some?
Paul
Title: Re: Project GeneSys
Post by: Vortex on September 19, 2006, 02:04:57 PM
Zcoder,

You are welcomed to contribute the GeneSys project. You can post your algos here.
Title: Re: Project GeneSys
Post by: Rainstorm on September 19, 2006, 09:38:34 PM
hi
just came accross this link..kinda related to what you'll are doing.
http://www.geocities.com/emu8086/

(its with respect to 16bit though)

-
Title: Re: Project GeneSys
Post by: PBrennick on September 19, 2006, 09:55:11 PM
As soon as I scrolled down and saw the words, 'Buy Assembler' it became evident to me that our project and theirs have nothing in common.  Why would someone want to buy a 16bit assembler?  I will tell you why; they don't know any better and honestly want to learn and because of that, they get taken advantage of.

Rainstorm, I hope that you are not considering using their service.  You can do 16bit programming with the Microsoft assembler, you just need to download the 16bit linker which is freely available.  The Art of Assembly can also be obtained from this forum.  If you need help, just ask, everyone will help you.

Paul
Title: Re: Project GeneSys
Post by: Rainstorm on September 19, 2006, 10:21:36 PM
no, not considering buying it..or learning/using 16bit for that matter :)
am using the masm32 package
& yes your'e right they probably don't have any better if they are selling a 16 bit package.
i've dloaded the 'aoa' from the aoa site sometime back
dunno maybe was just thinking...you'll would like to take a look..since it was a learning type of app too.
didn't mean it to come accross the wrong way

regards..

Rainstorm

edit: i saw the buy link too at the bottom..but only after i had already made the post lol
Title: Re: Project GeneSys
Post by: PBrennick on September 19, 2006, 10:43:14 PM
 :U
Title: Re: Project GeneSys
Post by: zcoder on September 20, 2006, 02:02:35 AM
I am glad to hear that any code for the GeneSys project is not bound by IDE's
I would be glad to contribute any code that is deemed fit.

I can leave it upto you guys to deside what you feel out of what I have to be put into the
project.

Right now I can't really be of any help, nore can I get to any of my code.
I am in another city, where I am helping to care for my mom, she had
spinal surgery and I can't head for home anytime soon, untill they say
she is well enough to be released.

zcoder....

Title: Re: Project GeneSys
Post by: PBrennick on September 20, 2006, 07:40:25 AM
Zcoder,
Family is always a priority and I am glad to hear that you also feel that way.  I am still recovering from my Spinal surgery and the infection that scared us all.  I still am giving myself IV antibiotics via a pic line.  7 more days to go if all goes well. I hope that all goes well with your mother, also.  She is on my prayer list.

Paul
Title: Re: Project GeneSys
Post by: Vortex on September 20, 2006, 08:02:02 AM
Zcoder,

As Paul said, your family is the most important for you know. With your support, she will recover. Later, when you will have the time, you can send your algos.

Stay well,

Erol
Title: Re: Project GeneSys
Post by: trodon on September 21, 2006, 02:21:33 PM
why this new version does have option in editor for assamble, bulid RC and link?
Title: Re: Project GeneSys
Post by: PBrennick on September 21, 2006, 05:06:08 PM
Because of a courtesy that I am showing to my friend Ramon Sala.  I support his IDE and, indeed, helped in its development.  The Editor used to have those options but I recently removed them.  I am considering adding back an option to run batch files but that is all I will probably do.  If you have trouble working with batch files, you may want to try EasyCode or Radasm.

Paul
Title: Re: Project GeneSys
Post by: trodon on September 21, 2006, 06:08:10 PM
QuoteIf you have trouble working with batch files, you may want to try EasyCode or Radasm.

no i am just Curious, but thank you for your answer  :U

Title: Re: Project GeneSys
Post by: PBrennick on September 26, 2006, 07:00:09 PM
Trodon,
I have modified my editor so that it will run a batch file with the same name as the assembly file or resource script currently loaded into the editor.

I am attaching the editor so that you do not have to download the entire project just to get it.

Paul


[attachment deleted by admin]
Title: Re: Project GeneSys
Post by: trodon on September 26, 2006, 10:09:44 PM
thanks PBrennick  :U
Title: Re: Project GeneSys
Post by: daydreamer on September 26, 2006, 11:32:46 PM
Paul
my SSE/SSE2 tutorial with macros something you could think useful?, but that might be too advanced or?
my SSE tutorial was intentionally made in mind on people not experienced so much in math they can easy use quaternanions, so I avoided all talk about quats and its simple down to basic learn the different instructions and what cpu and os you need to get started, because it can scare away newbies with involve quat maths
Magnus
Title: Re: Project GeneSys
Post by: PBrennick on September 27, 2006, 04:14:00 AM
Magnus,
Tutorials are always welcome so post away.  As far as them being too advanced, please remember that even though a user may be new to assembly, they may have been programming using other languages for years.

Paul
Title: Re: Project GeneSys
Post by: zcoder on October 02, 2006, 10:53:43 PM
I am sorry about getting off topic, but I just got home now today.
and mom is doing good, she has all her feeling back in her arms
legs ect. so now I am going to take a week off to relax at home
and unwined.

I am sure glad it all worked out, doctors was not so hopfull about it
or they just talked about the worst, incase the worst did happen
so I am thankfull now.

she had 3 bones removed from her spine around her neck
I think some kinda bone that she really did not need, those
had gotten so much arthritus built up around those, that
she started to lose all feeling in arms,legs all over and it was
going fast.

But all that is behind her now. I am glad to be back home
and I want to reast for awhile, you know how it feels to
be away from home for over 6 weeks and how I was just
worrying so much I myself almost got sick.

So, after a weeks rest I will be glade to share what ever
code you feel, fits the package good.

Zcoder....
Title: Re: Project GeneSys
Post by: PBrennick on October 03, 2006, 12:42:26 AM
We are very happy for this good outcome.  After you have rested, we can talk.  There is no rush, my friend, rest now so you stay well.

Paul and Erol
Title: Re: Project GeneSys
Post by: daydreamer on October 03, 2006, 04:26:08 PM
here it is


[attachment deleted by admin]
Title: Re: Project GeneSys
Post by: Synfire on October 04, 2006, 02:34:24 AM
Nice work, there are two errors in index.html though. Line 15 and line 18 have absolute URL's. This page needs to be changed to:

<html>
<head>
<title>SSE/SSE2 tutorial - index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="SSE tutorial">
</head>

<body bgcolor="#A0A0FF">
<div align="center">
  <p><font size="5"><b><font color="#FFFFFF">SSE/SSE2 tutorial</font></b></font></p>
  <p><font size="4" color="#FFFFFF"><b>by Magnus Svensson</b></font></p>
  <p><font size="4" color="#FFFFFF"><b>CopyRight 2004</b></font></p>
  <p><b><font size="4"><a href="movdata.html">1. Getting Started : mov instructions
    and aligned data</a></font></b></p>
  <p><b><font size="4"><a href="math.html">2.Floating
    Point Math</a></font></b></p>
  <p><b><font size="4"><a href="conv.htm">3.conversion between int and float</a></font></b></p>
  <p><b><font size="4"><a href="comp.html">4.compare
    instructions</a></font></b></p>
  <p><b><font size="4"><a href="logical.htm">5.logical instructions</a></font></b></p>
  <p><b><font size="4">6. SSE2 integer Math</font></b></p>
  <p><b><font size="4">7.control word, cache instructions</font></b></p>
  <p><b></b></p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</div>
</body>
</html>
Title: Re: Project GeneSys
Post by: PBrennick on October 04, 2006, 05:57:24 PM
Magnus,
Now that I have seen your tutorial, I realize that you are correct.  It is a bit too advanced for our userbase.  It is a nicely done tutorial and I plan to archive it for the time being.  Thank you for considering our project.

Paul
Title: Re: Project GeneSys
Post by: Synfire on October 05, 2006, 12:56:49 AM
Magnus,

I see no real problem with it, although I guess it could be "dumbed down" a little for novice users. I really don't think it should be thrown on the back burner just yet though. For beginner tutorials, it's generally best to take a hands on approach. I suggest reformatting the document to give an explaination of a few instructions, then write code on how it can be used. Also, could probably help if you didn't overload the user with all the types right up front. Try explaining the fundamentals such as data alignment and registers in the first chapter,then single precision floating point in the second chapter, then packed single precision in the third chapter, etc. This will seperate the information into managable chunks which won't scare off the novice users. You're document, as is, reads more like an overview for people who want to quickly look up something. GeneSys, iirc, is designed for newcommers, so the document would need to be structured for newcommers. Years ago, when I was writing tutorials, I found it easier to put myself in the place of the reader. Build an outline of how I actually learned the information, what parts of the information is easiest to learn. Novices will be more apt to read the tutorial all the way through, if you start them out with things easy enough for them to pick up right away. This gives them a sense of achievement and progress which will help them to work harder to understand the more advanced material.

Regards,
Bryant Keller
Title: Re: Project GeneSys
Post by: PBrennick on October 05, 2006, 03:20:11 AM
Thanks Bryant.
Paul
Title: Re: Project GeneSys
Post by: daydreamer on October 06, 2006, 08:18:37 AM
thanks Bryant and Paul for your words
also made some examplecode for it
QuoteSSE4 shows use of shufps instruction
shufps only has immediatebyte to control different modes
therefore the need for teachingpurposes use this kinda code
SSEexpbak2, lost source
createsonthefly/rotates 2 circles simultanously and renders them 3d
shows parallel calculation can be made to 2 points instead of 1 point with help of SSE
3dprojection showed can be done with help of reciprocal instruction+mul instead of divs

DDprocedural, sidetracked into MMX

DDlandscape, SSE renders 2 pixels simultanously
, output thru MMX
not finished, was supposed to develop it to example show a curve rendered, but infact its a copying with masked output
from parallel conditional code if its inside or outside for example the curve y=1/x ,showing how conditionals are made in parallel code
y=1/x also can show use of reciprocal instruction


backtracked to code in pong that simple cmp/neg velx/y bounces the ball
requiring only few cycles and
SSE2 code that does it 16x parallel
Title: Re: Project GeneSys
Post by: Synfire on October 09, 2006, 01:53:41 PM
Quote from: PBrennick on September 19, 2006, 09:55:11 PMAs soon as I scrolled down and saw the words, 'Buy Assembler' it became evident to me that our project and theirs have nothing in common.  Why would someone want to buy a 16bit assembler?  I will tell you why; they don't know any better and honestly want to learn and because of that, they get taken advantage of.

Rainstorm, I hope that you are not considering using their service.  You can do 16bit programming with the Microsoft assembler, you just need to download the 16bit linker which is freely available.  The Art of Assembly can also be obtained from this forum.  If you need help, just ask, everyone will help you.

Paul

Actually, I have a copy of emu8086. The assembler part is more or less identical to FASM (it even supports a FASM compatability mode) so I wouldn't see anyone buying it for the assembler itself. As well, the documentation with it really sucks. Before you ask why I actually paid for a copy of it.. it's all about the emulator. It has quiet possibly the coolest 8086 emulator ever made. I first came across it via a friend who was using it in college. After noticing that you can emulate everything from robots, street lamps, custom devices, or whatever you wish. I had to get a copy. The only people who I think would benefit from this, are people who are interested in learning to code various applications which interface directly with hardware.

Here is a screenshot of the emulator running the traffic lights example: http://www.codegurus.org/~bkeller/pictures/emu8086.png

Sorry for the late response to this, I've been in and out of the conversation on this thread  :toothy

Regards,
Bryant Keller
Title: Re: Project GeneSys
Post by: PBrennick on October 09, 2006, 02:40:00 PM
Bryant,
That is what is nice about these boards, conversations can be reumed if some thing is thought of. I bet that the traffic light emulator was a fun project!

Paul
Title: Re: Project GeneSys
Post by: Synfire on October 09, 2006, 06:30:58 PM
Yea, the emulator has all sorts of devices to play around with, stepper motors, robots, etc. It's also decent for learning the basics of operating systems (nothing too advanced) since you can create virtual drives and load them in emulator bootup. But as for the tutorial and assembler, it's rather basic if you ask me. But the emulator itself was worth paying for :)
Title: Re: Project GeneSys
Post by: PBrennick on October 25, 2006, 11:44:56 AM
Bryant,
As a bit of trivia, we taught a class at the college that actually programmed a set of traffic lights on Route 59 in Suffern, New York. We used a programmable controller, though. It is better suited for this task and is built for harsh environments (we buried it in a special box designed for just that use).

Paul
Title: Re: Project GeneSys
Post by: AkinforASM on October 26, 2006, 11:00:13 AM
Dear Friends,

I have downloaded the library from genesys web site. However there are some missing downloads like:
http://x86assembly.codegurus.org/asmlibLib.zip
http://x86assembly.codegurus.org/asmlibDll.zip

I receive object not found error on these links. Am I missing something or are these files actually missing?

Regards.
Title: Re: Project GeneSys
Post by: drizz on October 26, 2006, 06:03:03 PM
AkinforASM, all is fine, you seem to have an old copy of the page cached,
go there again and press ctrl+refresh...

Paul, add this to the page html if you want...:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
Title: Re: Project GeneSys
Post by: Synfire on October 27, 2006, 01:28:02 AM
The URL's are messed up. They should be:

http://x86assembly.codegurus.org/asmLib.zip
http://x86assembly.codegurus.org/asmDll.zip

and

http://ghirai.com/PBrennick/asmLib.zip
http://ghirai.com/PBrennick/asmDll.zip

I've just went through and checked all the other links on the genesys site, the rest are fine. Just those four are errored from what I can tell.

Regards,
Bryant Keller
Title: Re: Project GeneSys
Post by: PBrennick on October 27, 2006, 01:43:40 AM
Bryant,
Thanks for the help, I have made the repairs. At some point, I renamed the two files in question and then went into the hospital before I fixed the webpage. When I came out, I forgot all about it. Figures.

drizz,
I was using a refresh setting as you probably saw, I have decided to follow your recommendation of no-cache, the change has been made.

Paul
Title: Re: Project GeneSys
Post by: smoker on January 20, 2007, 01:31:36 AM
hello i am a very new member of the forum and trying to learn something about MASM32 i hope it will be great and please how can i get the ....masm32/lib/"masm32.lib" to run the samples...
Title: Re: Project GeneSys
Post by: Vortex on January 20, 2007, 07:57:57 AM
Welcome on board.

The GeneSys package provides GeneSys.lib as run-time library. If you wish to use masm32.lib, you should have a copy of masm32.inc to build your code.
Title: Re: Project GeneSys
Post by: TomRiddle on February 01, 2007, 08:58:31 AM
Where is the information on adding code to the GeneSys project?  Like if someone wanted to include Macro's into it?

Thanks all

Would this be correct?

Title "16-Bit Low Level IDE Disk Power Management"

This command directly Out's to the Select Disk (0=A(Floppy), 1=B(Floppy)...128 = C(Hard Disk 0), 129=D(Hard Disk 1).  This command has no error checking, and may not work for all BIOS's

; -=- Power Managment -=-
StandBy Equ 0E0h      ;Mostly Asleep
Idle Equ 0E1h         ;Some Asleep
TimedStandBy Equ 0E2h
TimedIdle Equ 0E3h
Sleep Equ 0E6h        ;Totally Asleep
Disk_Sleep Macro Drive, Command
  Mov Al, Drive
  Mov Dx, 01F7h
  Out Dx, Al
  Mov Al, Command
  Out Dx, 01F7h
EndM
Title: Re: Project GeneSys
Post by: japheth on February 01, 2007, 02:31:59 PM
Hi TomRiddle,

your macro is possibly not suited for GeneSys, which is mainly for programming Win32 "user" mode.

It fits into the DOS forum, however.

Regards

japheth
Title: Re: Project GeneSys
Post by: Vortex on February 01, 2007, 06:08:56 PM
Hi TomRiddle,

As Japheth said, GeneSys doesn't support 16-bit DOS coding but you can download the 16-bit MS linker to use with Masm 6.XX
Title: Re: Project GeneSys
Post by: TomRiddle on February 02, 2007, 04:47:57 AM
Aight, need a diffrent Project  :8)

Thanks all
Title: Re: Project GeneSys
Post by: korte on March 05, 2007, 10:11:25 AM
where to found genesys project page?

http://x86assembly.codegurus.org  not valid!
Title: Re: Project GeneSys
Post by: PBrennick on March 05, 2007, 05:51:41 PM
Sorry, the site is down. He switched to a windows server and it has been a nightmare ever since.

You can download the project from Ghirai's server (http://ghirai.com/PBrennick/). It is a reliable server.

I am looking for a new home for the repository.
Paul
Title: Re: Project GeneSys
Post by: PBrennick on March 07, 2007, 09:38:07 AM
The Repository has been moved to here (http://x86assembly.zapto.org). Sorry for the trouble and the delay.

Paul
Title: Re: Project GeneSys
Post by: jcarlock on May 18, 2007, 04:24:25 PM
Hi Paul,

The zapto dot org domain ... you need a place to host anything?
Title: Re: Project GeneSys
Post by: PBrennick on June 30, 2008, 01:25:35 PM
Sorry aqbout the late reply, I have been concentrating on editor issues whilst it is in beta, again.

As far as mirror hosting goes, the more the merrier. Please send me an email to pbrennick@juno.com (pbrennick@juno.com).

Thank you for the help.
-- Paul
Title: Re: Project GeneSys
Post by: gabor on August 28, 2008, 07:51:36 AM
Hello Paul old friend! Good to see you around!  :bg
It's been almost year now since my last login and seeing a post from you was a nice surprise indeed.

Sorry for the offtopic post...

You all take care! Greets
Gábor
Title: Re: Project GeneSys
Post by: PBrennick on August 29, 2008, 10:44:02 PM
Gabor,
I hope to see you around a lot more often. You were working on a couple of big projects as I recall - howzit going? Or did you take a 'truye' holiday and pull the plug?

Be sure to DL the latest version tof the GeneSys SDK.

-- Paul
Title: Re: Project GeneSys
Post by: elegem on September 13, 2009, 01:07:18 AM
As this project doesn't really have a dedicated site, have you considered hosting it on sourceforge?
Title: Re: Project GeneSys
Post by: Vortex on September 13, 2009, 10:25:03 AM
The Repository (http://www.ghirai.com/PBrennick/) works fine but there is a problem with Paul's website (http://pbrennick.freehosting.net)
Title: Re: Project GeneSys
Post by: PBrennick on September 15, 2009, 02:25:57 PM
Hi all,

I have been having some problems of a personal nature but am on the mend. Sorry for the silence.

Vortex, what is the problem with my website? It seems to load for me although I did not try to download anything. There is a definite need for a better website, though. I dislike all the ads and how it mucks with the formatting of my pages.

Paul
Title: Re: Project GeneSys
Post by: dedndave on September 15, 2009, 02:47:35 PM
good to see you, Paul
we missed you   :U
Title: Re: Project GeneSys
Post by: MichaelW on September 15, 2009, 08:46:44 PM
Hi Paul,

Good to see you back.
Title: Re: Project GeneSys
Post by: UtillMasm on September 16, 2009, 07:16:24 AM
good to see you, sir.
i missed you too.
Title: Re: Project GeneSys
Post by: Vortex on September 16, 2009, 05:20:52 PM
Welcome back Paul :U
Title: Re: Project GeneSys
Post by: PBrennick on September 16, 2009, 07:02:01 PM
Thanks to everyone for your nice words. I struggle with my problems but have become resolved to not burden this forum with them. So I waited until I was sure I am well enough to post.

Dave, if possible, I would like us to continue the mods to Soduko. Thanks for your help.

Paul
Title: Re: Project GeneSys
Post by: dedndave on September 17, 2009, 02:52:42 AM
glad to help if i can, Paul - i sent you a PM
Title: Re: Project GeneSys
Post by: gabor on September 17, 2009, 07:30:27 AM
Welcome back Paul!

I'm really happy to see your posts again! All my respect to you for your patience and strength.
I hope we'll have time to discuss things.

Greets,
Gábor
Title: Re: Project GeneSys
Post by: PBrennick on October 01, 2009, 07:56:53 PM
Hi Gábor,

It is good to hear from you! I sometimes wondered how you were coming with your project.

Paul
Title: Re: Project GeneSys
Post by: GregL on October 03, 2009, 03:08:15 AM
Glad to hear you are feeling better Paul.  :thumbu
Title: Re: Project GeneSys
Post by: frktons on May 15, 2010, 11:20:02 AM
Oh my God!
I was not aware of this project for Assembly learners.  ::)

Is this project still going?

I think  I am  a candidate having just started the journey into the Asm Programming.

If "project still in progress" I could post some chunk of code in this section
of the forum and read the previous topics as well to get inspiration  :wink

Frank
Title: Re: Project GeneSys
Post by: Vortex on May 15, 2010, 11:51:56 AM
Hi frktons,

Please feel free to post here your code examples. We will be glad to see here your contribution.