Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Couple questions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Sun Feb 24, 2013 1:24 am    Post subject: Couple questions Reply with quote

Lets say I wanted to create my own device from scratch and that device would be my own personal physical calculator that has buttons and what not.

The first thing i'd do is create a driver to support the input system (catch each button click) so that I can send it to my main code which handles all the calculations.

even if i'm wrong about what I said above, lets put it aside. How would I send my code to my new device?

Other then a power source, what will need to be in my circuit? would it be like a computer with a CPU and RAM?

how will I transfer my code? where will I transfer it to?

how do you make your code helpful when you decide to use your code to create new computers (or mini computers like a calculator)

also, what programming language was used in the 1930's-1940's. im sure back then when the allied forces were creating weapons and devices to fight world war two, they simply couldn't open their computer and type up some code.

i'm so stumped on this topic. can you sends a link explaining how it all works? how to get your code onto a circuit?
Back to top
View user's profile Send private message MSN Messenger
Chris12
Expert Cheater
Reputation: 1

Joined: 27 Apr 2012
Posts: 103

PostPosted: Sun Feb 24, 2013 2:21 am    Post subject: Reply with quote

for the first couple of questions. Take a look at the "raspberry pi". No need to make your own device.
If you want to, then you decide if it actually needs an processor and ram. You could also just build some static circuits. It all depends on what you want to do.

those real mini-calculators (the ones that dont accept formulas, only +-*/ and no brackets) are usually only circuits without a real processor.

in essence a processor is just an HUGE array of circurits. And depending on how its built, it reacts to its input. A real processor reacts in such complex ways that the assembly language was "invented" (more or less, it was more of a side product. without it a processor wouldn't be useable. The opcodes that a processor uses are created first actually, then the actual circuit system is created and made into chips...)

In the 30's they mostly used static circuits. They didnt have stuff like aviation-control systems or similar stuff.
The actions that such circuits could do were much more limited.
Most of the stuff (for example in radio-systems) was sort of hardcoded. The devices at that time didn't work on code.

Ok, there were some semi-processor things like the enigma (google it!)
but they were mechanical computers.


did that answer your questions? if not please explain what i misunderstood.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sun Feb 24, 2013 5:04 pm    Post subject: Re: Couple questions This post has 1 review(s) Reply with quote

iPromise wrote:
How would I send my code to my new device?

iPromise wrote:
Other then a power source, what will need to be in my circuit? would it be like a computer with a CPU and RAM?

iPromise wrote:
how will I transfer my code? where will I transfer it to?

iPromise wrote:
how do you make your code helpful when you decide to use your code to create new computers (or mini computers like a calculator)

Depends on the device.

iPromise wrote:
i'm so stumped on this topic. can you sends a link explaining how it all works? how to get your code onto a circuit?

You should start by deciding what platform you want to use. It's possible to build a basic binary adder with some logic gates on a breadboard. You're talking about keypads and displays and such, so I think you're best off using some sort of pic chip. When I was in school, we played with something similar in a couple of classes. Back then, we had to use "eprom burners" to push (machine) code to the device. Now, I think there are Arduino chips and stuff that use flash that you can write to with the built-in micro USB ports. That should make the barrier of entry cheap enough that you can get what you need to tinker. I'd do some Google searches for Arduino calculators and see what I could find.
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Mon Feb 25, 2013 12:35 am    Post subject: Reply with quote

Hmm okay I understood the majority of what both of you said right now.

I took apart a calculator that I have handy and I observed it for a moment. It uses solar energy to power up but other then that, its just a green motherboard with no visible attachments attached to the screen with a tape like material. I'll post a picture later, but how did they put their code in there?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites