tar xvfz x48-sideways-0.6.3.tar.gz cd x48-sideways-0.6.3/debian/x48-sideways/usr/ mv bin/x48 /usr/bin/x48-sideways mv share/applications/hildon/x48.desktop /usr/share/applications/hildon/x48-sideways.desktop mv share/icons/hicolor/64x64/hildon/x48_icon.png /usr/share/icons/hicolor/64x64/hildon
update-desktop-database /usr/share/applications gtk-update-icon-cache -f /usr/share/icons/hicolor maemo-select-menu-location x48-sideways.desktop
x48 -rom HP48GXRomfile.bin -initialize
| The Following User Says Thank You to Electric Lungfish For This Useful Post: | ||

Let me know if I can help in any way.--- ../temp/x48-0.6.3/src/emulate.c 2010-02-01 13:35:19.000000000 -0300
+++ src/emulate.c 2010-02-24 16:33:07.000000000 -0300
@@ -2452,23 +2452,23 @@
step_instruction();
#ifdef SOLARIS
- gettimeofday(&tv);
+ //gettimeofday(&tv);
#else
- gettimeofday(&tv, &tz);
+ //gettimeofday(&tv, &tz);
#endif
- while ((tv.tv_sec == tv2.tv_sec) && ((tv.tv_usec - tv2.tv_usec) < 2)) {
+ /*while ((tv.tv_sec == tv2.tv_sec) && ((tv.tv_usec - tv2.tv_usec) < 2)) {
gettimeofday(&tv, &tz);
- }
+ }*/
- tv2.tv_usec = tv.tv_usec;
- tv2.tv_sec = tv.tv_sec;
+ //tv2.tv_usec = tv.tv_usec;
+ //tv2.tv_sec = tv.tv_sec;
/* We need to throttle the speed here. */
- if (schedule_event < 0) {
+// if (schedule_event < 0) {
//puts("bug");
// schedule_event = 0;
- }
+// }
if (schedule_event-- <= 0)
{
schedule();
--- ../temp/x48-0.6.3/src/X48.ad.h 2010-01-29 21:53:20.000000000 -0300 +++ src/X48.ad.h 2010-02-24 16:49:08.000000000 -0300 @@ -4,10 +4,10 @@ "*gray: False", "*monoIcon: False", "*useXShm: True", -"*smallLabelFont: -*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso8859-1", -"*mediumLabelFont: -*-fixed-bold-r-normal-*-15-*-*-*-*-*-iso8859-1", -"*largeLabelFont: -*-fixed-medium-r-normal-*-20-*-*-*-*-*-iso8859-1", -"*connectionFont: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1", +"*smallLabelFont: fixed", +"*mediumLabelFont: fixed", +"*largeLabelFont: fixed", +"*connectionFont: fixed", "*verbose: False", "*quiet: False", "*printVersion: False", @@ -20,5 +20,5 @@ "*resetOnStartup: False", "*romFileName: rom.dump", "*homeDirectory: .hp48", -"*useDebugger: True", +"*useDebugger: False", "*disassemblerMnemonics: class",
--- ../temp/x48-0.6.3/debian/rules 2010-01-30 13:02:47.000000000 -0300 +++ debian/rules 2010-02-24 15:55:06.000000000 -0300 @@ -1,22 +1,23 @@ #!/usr/bin/make -f # -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif + + +CFLAGS = -Wall -g -O3 -mcpu=arm1136j-s -mtune=arm1136j-s -fomit-frame-pointer -fsigned-char -mfpu=vfp -mfloat-abi=softfp configure: configure-stamp configure-stamp: dh_testdir - - autoreconf - ./configure --prefix=/usr + # Add here commands to configure the package. touch configure-stamp @@ -25,8 +26,8 @@ build-stamp: configure-stamp dh_testdir - $(MAKE) + #docbook-to-man debian/x48.sgml > x48.1 touch build-stamp @@ -36,7 +37,7 @@ rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. - [ ! -f Makefile ] || $(MAKE) distclean + -$(MAKE) clean dh_clean @@ -46,9 +47,13 @@ dh_clean -k dh_installdirs + cd src # Add here commands to install the package into debian/x48. $(MAKE) install DESTDIR=$(CURDIR)/debian/x48 - + # maemo stuff + mkdir -p $(CURDIR)/debian/x48/usr/share/applications/hildon + cp $(CURDIR)/x48.desktop $(CURDIR)/debian/x48/usr/share/applications/hildon + cp $(CURDIR)/x48v.desktop $(CURDIR)/debian/x48/usr/share/applications/hildon # Build architecture-independent files here. binary-indep: build install
