Gpsim-0.27.9 pet and gpasm

Mathematical tools, physics simulators, CAD, CNC, etc.
Post Reply
Message
Author
User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Gpsim-0.27.9 pet and gpasm

#1 Post by mister_electronico »

Hello after hard efforts I've gotten this pet, that works in Slacko Puppy-5.6 but I hope to work in other puppies

http://www.mediafire.com/download/xxa7d ... 0.27.9.pet

Has input menu in Menu> Utility> Gpsim

Comes also including commands:

gpasm, gpdasm, gplib, gplink, gpstrip, gpvc, gpvo

If someone use in other distro of Puppy please say me if works.

Hope someone usefull

See you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:44, edited 2 times in total.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Example use Gpsim

#2 Post by mister_electronico »

Compile your program in assembler by for example:

gpasm -p 16f873 file.asm

The inclusion p16f873.inc file must be in the same directory.

I am receiving messages but everything else right.

file.asm:6:Warning [215] Processor superseded by command line.
file.asm:32:Message [302] Register in operand not in bank 0. Ensure bank bits are correct.
file.asm:35:Message [302] Register in operand not in bank 0. Ensure bank bits are correct.
file.asm:39:Message [302] Register in operand not in bank 0. Ensure bank bits are correct.
file.asm:42:Message [302] Register in operand not in bank 0. Ensure bank bits are correct.
file.asm:74:Message [302] Register in operand not in bank 0. Ensure bank bits are correct.
file.asm:333:Message [305] Using default destination of 1 (file).


If all goes well the following files are created.

file.cod, file.hex, file.lst


After executing the command execute

gpsim -s file.cod file.asm

The program window opens.

To see the different program windows and go to the Windows menu can open. There we can visualize the Program Memory window, Source, RAM .....


See you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:44, edited 1 time in total.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

U

#3 Post by mister_electronico »

N






______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Post Reply