Author Topic: new member introduction and advice  (Read 3094 times)

daydreamer

  • Member
  • *****
  • Posts: 1754
  • building nextdoor
Re: new member introduction and advice
« Reply #120 on: October 08, 2021, 12:36:15 AM »
about 8086 emulator:dosbox combined with masm commenting out ;.686p,restrain masm to only accept minimum=8086 instruction set,the instructions only using general purpose registers is good start,before fpu,MMX,SSE,AVX instructions
I seen projects many years ago,based on old PC,with printer port used for controlling lawnmower and other things,24 bits port using in and out instructions,but DOS-only,windows stops you from using hardware directly
SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."

q12

  • Member
  • **
  • Posts: 60
Re: new member introduction and advice
« Reply #121 on: October 08, 2021, 01:52:47 AM »
Update:
 I managed to download the stand alone version of this exact javascript emulator for 6502 proccesor : http://www.6502asm.com/
 I find it on github as a .js inside a .zip package and is working excelent as a simple win-web app. Haha.
 I also find a very helpful tutorial page specific for this 6502 web emulator: https://skilldrick.github.io/easy6502/ and also from a link inside it, the NMOS 6502 Opcodes http://www.6502.org/tutorials/6502opcodes.html#BNE; although, he said about a second opcode page that today doesnt work anymore... 1 should be good enough i guess. I am using it as I am progressing through its very simple and to the point tutorial. Very easy and direct explanations. This is the type of tutorial I like !!!
 Im at 50% of it at this point, and I started today. It looks simple and fast but I actually read everything in it and try it manually in a paralel web window with the emulator in it. Not fun to work like that at all but, is doing something. Haha.
 This is what I wanted all along, this kind of wetting my delicate fingers into the real asm. Believe me, I reach my goal with this little tutorial. Well, its more like a step than a final goal. Its an important step.  I like that I can actually draw the squares on the black screen and represent the adresses and bytes. A very good introduction on how to use that asm Monitor with 16 x 00 hexadecimal per each line in it. Ive seen this monitors before, but never knew how to use one. Now I start to get it. It is exceptional specific. "Go exactly there and set that and you're done." But you must what "that" means.
 So this is my progress so far... in progress with this tutorial.
 

mineiro

  • Member
  • ****
  • Posts: 750
Re: new member introduction and advice
« Reply #122 on: October 09, 2021, 04:15:13 AM »
So you ended SAP (simple as possible processor). Congrats.
I remember seeing inside proteus program a full 8086 processor done with virtual eletronic components. We can also use masm binaries files and check whats happening inside processor, or how processor is doing that. Proteus have some virtual devices to play, it's nice. Well, it's an industrial program, very strong.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

q12

  • Member
  • **
  • Posts: 60
Re: new member introduction and advice
« Reply #123 on: October 09, 2021, 09:51:16 AM »
So you ended SAP (simple as possible processor). Congrats.
Yaaah... I finish the SAP but is still with errors in it. I managed to clean Proteus output errors, but internally is still bugged. SO, no it is not usable what  circuit I made there. I personally don't trust it. But I learned a lesson about logic gates and proteus interface itself. I will not be able to use that circuit.
 But, I find an alternative to the problem and im walking on it right now. In the book last chapters, are mentioned a couple of processors and their respective directives. So... I concentrate on the most basic one, the 6502 and I find some VERY interesting stuff on internet in regard of it. I am now practicing the 6502 specific asm directives on an 6502 emulator. I was surprised to see the way this asm is written comparative with Intel asm. I also find some free tutorials about how to program this 6502 and also how to build a complete 8bit computer around this processor. Very interesting is that it is still in production ! with some new updates on it, but still the same thing as the original. I am fascinated. I am pushing as hard as I can on understanding it's asm language. It is a LOT to take in. And the most difficult part for me is to see the practicability in all what I am learning. After I will finish this 6502 'step', I will have some interesting questions for you.