1
0
Fork 0
forked from Miroirs/x49gp
x49gp but maintained and modernized
Find a file
claudiol 91d85c5aec On behalf of: 3298
Merge remote-tracking branch 'claudiobsd/master'
2018-05-07 17:29:09 -04:00
bitmaps deleted .svn subdirectories 2013-08-22 20:01:12 -05:00
include merge grayscale.diff by datajerk 2017-10-26 12:12:16 +02:00
qemu Fix warnings, compile again with -Werror. 2017-10-26 11:41:01 +02:00
sim deleted .svn subdirectories 2013-08-22 20:01:12 -05:00
.gitignore add ignorance 2017-10-26 09:41:11 +02:00
2MB_215f.bin add 2MB 2.15 update file 2017-12-07 13:14:22 +01:00
49Gp_88.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
4950_92.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
4950_215.bin update ROM to version 2.15 2017-10-26 12:32:35 +02:00
block-qcow.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block-raw.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block-vvfat.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
block.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot-49g+.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot-50g.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
boot.bin Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
config.tmpl Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
EqnData.lib update ROM to version 2.15 2017-10-26 12:32:35 +02:00
EqnLib.lib update ROM to version 2.15 2017-10-26 12:32:35 +02:00
flash.c fix offset calculations in qemu callbacks 2017-10-26 14:13:45 +02:00
gdbstub.c Activated debug mode with -d switch in command line. 2015-11-13 16:46:52 -05:00
gdbstub.h Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hex2bin.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp49g+.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp49g+small-notext.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
HP49GP_IO_PORT Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
hp50g.png Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
le32hex2bin.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
main.c Activated debug mode with -d switch in command line. 2015-11-13 16:46:52 -05:00
Makefile On behalf of:3298 2018-05-07 17:26:44 -04:00
MEMORY Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
module.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
newconfig fixed MacOS build issues 2017-03-27 17:02:05 -06:00
prtbl.lib update ROM to version 2.15 2017-10-26 12:32:35 +02:00
README Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
README.config Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
README.md On behalf of:3298 2018-05-07 17:26:44 -04:00
README.QEMU Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_adc.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_arm.c Loop over separate reg arrays separately. 2017-10-26 15:52:19 +02:00
s3c2410_intc.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_io_port.c On behalf of:3298 2018-05-07 17:26:44 -04:00
s3c2410_lcd.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_memc.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_nand.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_power.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_rtc.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_sdi.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_spi.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_sram.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
s3c2410_timer.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_uart.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_usbdev.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
s3c2410_watchdog.c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
sram.c fix offset calculations in qemu callbacks 2017-10-26 14:13:45 +02:00
symbol.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
SYSCALL-28-TRACE Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
timer.c On behalf of: 3298 2018-05-07 17:29:09 -04:00
tiny_font.c Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00
ui.c On behalf of:3298 2018-05-07 17:26:44 -04:00
update.scp update ROM to version 2.15 2017-10-26 12:32:35 +02:00
updatefw Changed firmware to newrpl. 2017-07-10 08:26:02 -04:00
x49gp.gif Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00

Quick Start Guide 03/27/2017 Egan Ford egan@sense.net

NOTE: READ ALL INSTRUCTIONS

Prereqs:

  • MacOS 10.12 64-bit:

    • Install XQuartz, Xcode (from your installation media) in that order.
    • Install Macports (macports.org), then:
  sudo port install gtk2 pkgconfig gcc6
  sudo port select --set gcc mp-gcc6
  export PATH=/opt/local/bin:$PATH
  • Ubuntu:
  sudo apt-get install git libgtk2.0-dev
  • RedHat/CentOS, Fedora:
  sudo yum install git gtk2-devel

Start up X11 and use xterm


Download x49gp source:

git clone https://github.com/chwdt/x49gp.git

Edit FIRMWARE (optional):

The default firmware will be 4950_92.bin, for HPGCC3 development copy 49_hpgcc.bin in to x49gp and change FIRMWARE in the Makefile.


Build:

cd x49gp
make
make sdcard
make config

Mount SD card:

OS/X:

open sdcard.dmg

Linux:

sudo mkdir -p /Volumes/X49GP/
sudo mount -o loop sdcard /Volumes/X49GP

Put stuff in SD, e.g.:

OS/X:

cp BACKUP /Volumes/X49GP/

Linux:

sudo cp BACKUP /Volumes/X49GP/

NOTE: If using HPGCC2 don't forget the ARMToolbox.


Eject SD:

OS/X:

hdiutil detach $(df | grep -i x49gp | head -1 | awk '{print $1}')

Linux:

sudo umount /Volumes/X49GP

Run:

./x49gp config

Do stuff, e.g.:

Restore backup:

BACKUP
3
->TAG
RESTORE

Install ARMToolbox (HPGCC2):

2
SETUP.BIN
3
->TAG
RCL
EVAL

(Right Click ON, Left Click C)


To Exit Emulator

  • ctrl-c to exit (from launch window)

Start Over:

  • clean slate?
rm -f flash-49g+ flash-50g flash-noboot sram s3c2410-sram
make flash-49g+ flash-50g flash-noboot sram s3c2410-sram
./newconfig
  • soft reset only?
./newconfig

Known Limitations:

  • HPGCC SD Card I/O
    • libfsystem unavailable.
    • f* calls unstable (HPGCC2)
    • f* calls stable (HPGCC3)

Change Log:

Additional note: August 22, 2013

Updated this so that it'll compile on Ubuntu 12.04.

--Nicholas Kirchner