Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 29th, 2005, 7:21 AM   #11
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Some of my most creative Fortran programs were made by shuffling the deck before turning it in for processing . Skip, Dup.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 29th, 2005, 2:07 PM   #12
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
my grandfather actually used to work with those old punch cards. DaWei, you must be old!
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot

Last edited by uman; Jun 29th, 2005 at 2:08 PM. Reason: s/wwork/work/
uman is offline   Reply With Quote
Old Jun 29th, 2005, 2:29 PM   #13
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Just think we have more memory in our hand held calculators now than we had in the largest mainframes back then. Interaction with punch cards or binary switches implies you are old or a historian

Think about DEBUGGING while using punch cards... ahhhhhhhhhhhh.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 29th, 2005, 2:31 PM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Let's just say I've been an engineer since before integrated circuits were commercially available :eek: . An old résumé synopsis can be found here. The first "computer" I built was a 4-bit full adder made with switches, relays, and flashlight bulbs.

EDIT: You interact with binary switches every day; from those are your CPUs made, even yet.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 29th, 2005, 2:55 PM   #15
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I'm talking about the binary switches, where you walk up to a set up toggle switches and flip it up or down to generate a value.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 29th, 2005, 3:07 PM   #16
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Been there, done that, too. I have a post here somewhere describing that method of booting the older computers. The definition of binary, however, is "two-valued". It applies to physical switches as well as to vacuum tubes and transistors and is universally use to describe the devices inside cpus and other logic circuits by us hardware types that employ the technology.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 30th, 2005, 7:20 PM   #17
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by uman
my grandfather actually used to work with those old punch cards. DaWei, you must be old!
GRANDFATHER?! You must be YOUNG!
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Jul 1st, 2005, 3:36 PM   #18
Scorpions4ever
Programmer
 
Join Date: Jun 2005
Posts: 86
Rep Power: 4 Scorpions4ever is on a distinguished road
I've worked with an 8085 processor board where I had to enter stuff with a hex keypad . What impressed me most was that the prof who taught the course could hand-assemble the code without consulting his asm-to-machinecode sheet. The man had memorized all the opcodes.

By the way, you could enter code directly in DOS too. I used to do the following quite a bit.
C:\>COPY CON reboot.com
Hold down alt-key, type 205 in the numeric keypad and release the alt-key. This types out character 205 (Hex. CD)
Ctrl-Y (This is character 25 (Hex 19))
Enter
Ctrl-Z (Tells dos that this is EOF)
Enter
This creates a file with the first two bytes set as 205, 25 (which is CD 19 in hex). If you consult your 8088 opcode list, this is the instruction for INT 19h , which is the same interrupt generated when you hit the ol' ctrl-alt-del combo .

Next, I'd edit AUTOEXEC.BAT and put a line to execute reboot.com. You can figure out the rest.
Scorpions4ever is offline   Reply With Quote
Old Jul 1st, 2005, 5:07 PM   #19
║▓ßúdhαrlεy▓║
Newbie
 
║▓ßúdhαrlεy▓║'s Avatar
 
Join Date: Jul 2005
Location: Arizona
Posts: 19
Rep Power: 0 ║▓ßúdhαrlεy▓║ is on a distinguished road
here is a link from Wikipedia which might be fairly useful in your endeavor. Or at least give some more insight into binary machine code.
Click Here For the Article good luck on writing a calculator. I remember a kit that my dad had when I was youger that he had built in the 70's that read cassette tapes and could store strings of numbers and perform some calculation. Just came to mind reading about the punch cards and such.


___________________________
Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes and weighs 30 tons, computers in the future may have only 1,000 vaccuum tubes and perhaps weigh 1.5 tons.

Popular Mechanics, March 1949
║▓ßúdhαrlεy▓║ is offline   Reply With Quote
Old Jul 29th, 2005, 12:06 PM   #20
teencoder
Hobbyist Programmer
 
teencoder's Avatar
 
Join Date: Jul 2005
Posts: 158
Rep Power: 0 teencoder is an unknown quantity at this point
Arn't .obj files big hex collections that translate into the machine code .exe in compileing languages.
__________________
Geeks may not be cool now but in the long run they prosper.
teencoder is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:09 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC