블로그 이미지
progh2
지루한 것에서 벗어나 재미난 것 속으로 풍덩~☆

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

Recent Post

Recent Comment

Archive

거의 유일무이한 팜 프로그래밍 책인 Palm OS Programming 책을 보고
따라하다보면 아마도 최초로 겪는 일은
윈도우 XP에서 요상한 에러를 내서 짜증내면서 포기하는 일을 처음 겪고,
윈도우98 등 구형 O/S를 찾아서 설치하게 될 것입니다. -_-
어쩔 수 없죠. 이 개발툴이 윈95, 98, NT에서 돌아가게 만들었다니...
호환성 모드도 제대로 작동 못하는 녀석은 방법이 없는..

저는 노트북에 딸려온 윈미에다 설치했습니다. 윈98이나 윈미나 그게 그거니..
(...윈미땅님아 조용히 있어 주세요 )

정말 활동적인 어바웃 -_-. 즐~

까탈스러운 코드워리어 6 라이트님(...)


그래서 책에 나온 불칠전한 지시대로 머리를 굴려가며 따라하다보면
첫 작업부터 에러를 때려줍니다.

일단 디버깅을 위한 콘솔모드 진입에 관한 부분인데,
콘솔문자(오메가라고 할까요? 필기체로i 문자) + .. + 2 로 들어가라고 하는데
이것에 관한 내용은 이전이전 포스팅에 남겼으니 참고하시고,
근본적으로 제가 가진 SJ33은 usb 연결이라
시리얼 포트 연결만을 제공했던 구형 팜을 염두해서 만들어진 이 코드워리어 6 lite에서는
어찌 실행할 방법이 없더군요.
코드워리어9에서는 가능한 것 같던데... 뭐 일단 급한 것은 아니니
좀 더 익숙해지고 넘어가도 상관없다 생각해서 이 부분은 패스.

그 다음 예제.
오, 첫 예제입니다. 헬로~ 버튼을 만들어 보는 예제군요.
역시나 불친절한 설명대로 따닥따닥 따라해서 두근두근거리며
Make 버튼을 눌러주면 땅~ 때려주는 에러.

시작하자마자 에러 메시지가!

starter.tmp 파일 에러에유~


네. 역시 시작하자마자 불친절한 에러가 땅하고 뜹니다.
책에는 이런 내용에 대해서는 다루지 않고 있고..
이 책을 봤을 다른 분들은 어떻게 해결했을지? -_-;;
이리저리 메뉴 굴리며 찾아봐도 생뚱맞고 어찌해야할지 알 수 없는 에러에
난감해하다 구글신님께 여쭤봤습니다.

...하지만 그다지 도움될만한 내용은 없더군요.
다만 한국에서 저랑 비슷한 상황을 겪은 분들이 많다는 것 -_-;
그래서 클리앙도 뒤져보고, kpug도 뒤져보고..하다가 kpug의 개발자 게시판에서
해답을 알아냈습니다. -_-+

장대원이란 분이 쓰신 답변글에 대답이 나와 있더군요.
그래서 그분 말대로

설명메뉴 위의 메뉴

프로젝트 이름마다 Setting 앞의 이름이 바뀌어서 이렇게 표현할 수 밖에..


설정메뉴 바로 위의 메뉴로 들어가서

68K Target

68K Target 항목의 "File Name"과


rez post linker 설정

rez post linker 설정에서 "Mac Resource Files"을


위 화면처럼 같게 설정해줍니다. 기본 설정으로는 다르게 되어있습니다.
어째서 이러한 내용이 책에는 빠져있는 것인지 좀 궁금하군요.
임시로 생성되는 파일인듯하니 적당한 이름으로 만들어주면 될 것 같습니다.
posted by progh2

팜 디바이스에서 콘솔모드를 불러오는 방법

this is the list of specials shortcuts

.1
The device enters debugger mode and waits for a debugger such as Palm OS Debugger or Metrowerks CodeWarrior to connect. The device appears frozen and unresponsive, awaiting commands from the debugger.
On old 68k monochrome handhelds a square begins flashing in the top left corner of the display. Some color handhelds display a colored line at the bottom of the screen. All other handhelds will not indicate that they are in debugger mode.

The device must determine whether to open the USB port or the serial port. Most devices determine whether they are attached to a USB cradle and open the appropriate port. Handspring devices require a utility called DebugPrefs so you can specify which port should be used. This utility is available from Handspring's developer program.

NOTE: Debug mode drains significant battery power. You must perform a soft reset to exit this mode.

.2
The device enters console mode and waits for communication, typically from a high-level debugger.
The device must determine whether to open the USB port or the serial port. Most devices determine whether they are attached to a USB cradle and open the appropriate port. Handspring devices require a utility called DebugPrefs so you can specify which port should be used. This utility is available from Handspring's developer program.

Another convenient way to put the device in console mode is to use the sample application.

NOTE: Console mode drains significant power over time. You must perform a soft reset to exit this mode.

There is no need to enter console mode using this shortcut when running the Palm OS Emulator or the Palm OS Garnet simulators, as they always support a debugger connection..


.3
The device's automatic power-off feature is disabled.
You can still use the device's power button to power it on and off. You must perform a soft reset to exit this mode.

.4
Displays the user's name.
None

.5
Erases the user's name and user ID.
WARNING: When the device is next synchronized after using this shortcut, the HotSync Manager application thinks that it has never been synchronized before. This means that records will be duplicated unless you first perform a hard reset (press the reset button while holding the power key).

.6
Displays the Palm OS build date and build time.
None

.7
Switches between NiCd and Alkaline battery curves to allow adjustment of when the battery warnings appear.
Of limited effectiveness. Low battery warnings do not work well with NiCd batteries.

.8
Toggles the backlight mode on a Palm IIIx or Palm V.
One mode is the default backlighting mode of the Palm IIIx and Palm V where the display is inverted when the backlight is turned on. The other mode is the default backlighting mode of the Palm III where the display is not inverted when the backlight is turned on.

NOTE: Restoring a Palm IIIx or Palm V from an existing user may overwrite the shortcut database and cause this shortcut to be lost.

.9
Displays the ROM build date and build time.
This command is not available on some devices.

.t
Toggle IR test loopback mode.
This mode is useful for debugging applications that beam data. Enabling this mode causes beamed data to be immediately received on the same device (ie: the IR hardware is bypassed). This is useful for testing your beaming or exchange manager code.

NOTE: Enabling this mode will cause more stack space to be used than a normal beam.

.i
Initiates a beam receive.
Using this shortcut will cause the device to begin waiting for a beam.

.s
Infrared serial mode toggle
This shortcut toggles the output port of infrared data between the built-in IR port and the built-in serial port.
posted by progh2

T3

사용자 삽입 이미지
치우군의 T3. 과연 그는 이 기종을 1년 이상 쓸까?
함장은 그 전에 다른 기종으로 바꾼다에 한표!  =ㅂ=)r   ㅋ
posted by progh2

중앙도서관에서 레어 아이템 발견! 책 대여할 여유가 없어서 빌리진 못했지만 나중에 빌려봐야지!  >ㅂ<)  !!

0
posted by progh2

조디악2의 탈을 쓴 조디악1

원래 조디악1은 바디의 색이 다르다. 사진출처:Cleo님이 장터에 올리신 사진

유안의 지름술에 현혹되서 KPUGCleo라는 분께 조디악1을 구매했다. SJ33을 쓰다가 이녀석으로 하려니 여러모로 손이 많이 간다. 기기가 어떻다고 하는게 아니라, 기존에 쓰던 프로그램의 설정, 데이터를 옮기려니 더더욱 그렇다. 벌써 하드리셋만 여러번. 구버전과 신버전, 하드웨어의 차이 등 여러모로 차이가 많기 때문에 조심조심 세팅해야 겠다. 일단 오늘은 여기까지만 하고, 차차 영역을 늘리자.

posted by progh2
prev 1 next