|
2010-02-28
, 20:54
|
Posts: 12 |
Thanked: 8 times |
Joined on Jan 2010
|
#32
|
|
2010-03-01
, 10:14
|
Posts: 138 |
Thanked: 8 times |
Joined on Dec 2009
|
#33
|
|
2010-03-01
, 11:03
|
Posts: 384 |
Thanked: 90 times |
Joined on Mar 2008
|
#34
|
|
2010-03-01
, 11:12
|
Posts: 138 |
Thanked: 8 times |
Joined on Dec 2009
|
#35
|
|
2010-03-01
, 13:59
|
Posts: 968 |
Thanked: 974 times |
Joined on Nov 2008
@ Ohio
|
#36
|
st5150: Thank you sir. I put the rom in there. It's not working its just crashing to desktop. Am I supposed to edit a config file to tell it the filename? Or what is the filename supposed to be? Mine is: HP48GXRomfile.bin
|
2010-03-01
, 17:10
|
Posts: 12 |
Thanked: 8 times |
Joined on Jan 2010
|
#37
|
|
2010-03-01
, 17:18
|
Posts: 12 |
Thanked: 8 times |
Joined on Jan 2010
|
#38
|
x48 -rom HP48GXRomfile.bin -initialize
The Following User Says Thank You to Electric Lungfish For This Useful Post: | ||
|
2010-03-02
, 01:56
|
Posts: 384 |
Thanked: 90 times |
Joined on Mar 2008
|
#39
|
I guess I'd just like it to look as good as that TI emulator...
|
2010-03-03
, 13:18
|
|
Posts: 100 |
Thanked: 102 times |
Joined on Apr 2008
@ Amazon-Belém
|
#40
|
Anunakin, did you make any other changes to 0.6.3? If so, I can merge them with these changes.
--- ../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
You probably want to wait for the deb from ElectricLungfish who has spent a lot of time turning the app on its side http://talk.maemo.org/showpost.php?p...5&postcount=20 Can't wait!
For the moment, if you'd like both versions to be installed simultaneously, follow these steps:
1. Install anunakin's x48 package.
2. Download the source tarball from my post yesterday.
3. Do the following as root:
5. Also as root, execute the following commands: