* is Unix
Jacob Kaplan-Moss
October 7, 2009
....nolist ; We don't want to actually include defs in our listing file. .include "m168def.inc" ; m168def.inc defines all the pins on the Mega168 so we can ; use them by their names rather than addresses (not fun). .list ; We DO want to include the following code in our listing ;D rjmp main ; You usually place these two lines after all your main: ; directives. They make sure that resets work correctly. ldi r16,0xFF ; LoaD Immediate. This sets r16 = 0xFF (255) out DDRB,r16 ; Out writes to SRAM, which is one way of accessing ; pins. DDRB controls PORTB's in/out state. ldi r16,0x00 ; r16 is where we'll store current LED state ; 0x00 means all off. This is preserved over loops.
Some characteristics, however, show refinement over what Apple has done. The Pre's processor board is "substantially" smaller than the iPhone's and reveals that Palm spent a large amount of time maximizing its available space -- a particular feat given the faster, 600MHz Texas Instruments OMAP3 processor and newer PowerVR SGX 530 graphics. Enough seems familiar that iFixit draws a close parallel between the two companies.
by mshook 2009-06-08 08:25 palm · linux · iphone · comparison · component · photo · how · assembly · palmos
The Pre's main components exposed but still assembled; a water damage sensor is highlighted on the left. | Image credits: iFixit.
gdb and simulavr are the backend of AVR studio. With gdb and simulavr you can do the same things you can do with AVR studio. Ubuntu has in its repository some ready packages. Look for gcc-avr, binutils-avr, avr-libc, avrdude, gdb-avr, simulavr. Just install them, that's it Cool The downside is that you don't have a GUI, you probably need to simulate your code from the command line.
Navigator: + AVR main + Frutt home + Contact me Subjects o Assembler o DisAssembler o man avrdis o Gigaweb o NGW 100 o Opcodes o Yomal o VAX 01 o VAX 02 Okapi o Design o Control Assembler o EBNF o aa001 Achatz o ICSP dongle Service + Downloads + Achatz.nl
12. The Morris worm
11. Google search rank
10. Apollo guidance system
9. Excel spreadsheet
8. Macintosh OS
7. Sabre system
6. Mosaic browser
5. Java language
4. IBM System 360 OS
That leaves my third, second, and top-most choices still to go. So here they are: