mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
fix: various omissions
This commit is contained in:
parent
f3c8964b84
commit
8e0d2eb783
3 changed files with 7 additions and 7 deletions
11
README.md
11
README.md
|
@ -15,9 +15,6 @@ This is free software: you may use it for any purpose, share it, and modify it
|
||||||
as long as you share your changes. Credit is not required, but please let me
|
as long as you share your changes. Credit is not required, but please let me
|
||||||
know!
|
know!
|
||||||
|
|
||||||
**TODO: Update this file for everything related to project organization**
|
|
||||||
|
|
||||||
|
|
||||||
## Programming interface
|
## Programming interface
|
||||||
|
|
||||||
Because of its free-standing design, gint's API provides direct and efficient
|
Because of its free-standing design, gint's API provides direct and efficient
|
||||||
|
@ -37,14 +34,13 @@ The library also offers powerful higher-level features:
|
||||||
* Integrated font management with the fxSDK
|
* Integrated font management with the fxSDK
|
||||||
* Integration with a Newlib port by Memallox (WIP)
|
* Integration with a Newlib port by Memallox (WIP)
|
||||||
|
|
||||||
|
|
||||||
## Building and installing gint
|
## Building and installing gint
|
||||||
|
|
||||||
You can choose to build gint for fx-9860G II (monochrome calculators, aka
|
You can choose to build gint for fx-9860G II (monochrome calculators, aka
|
||||||
Graph 85 family), fx-CG 50 (color calculators, aka Prizm or Graph 90 family),
|
Graph 85 family), fx-CG 50 (color calculators, aka Prizm or Graph 90 family),
|
||||||
or both. There are a few dependencies:
|
or both. There are a few dependencies:
|
||||||
|
|
||||||
* A suitable GCC toolcahin in the `PATH`. You can absolutely *not* build gint
|
* A suitable GCC toolchain in the `PATH`. You can absolutely *not* build gint
|
||||||
with your system compiler!
|
with your system compiler!
|
||||||
* For fx-9860G II, `sh3eb-elf` is strongly advised
|
* For fx-9860G II, `sh3eb-elf` is strongly advised
|
||||||
* For fx-CG 50, `sh4eb-elf` (with `-m4-nofpu`) is slightly better but
|
* For fx-CG 50, `sh4eb-elf` (with `-m4-nofpu`) is slightly better but
|
||||||
|
@ -52,6 +48,7 @@ or both. There are a few dependencies:
|
||||||
* The [fxSDK](http://git.planet-casio.com/lephe/fxsdk) installed and available
|
* The [fxSDK](http://git.planet-casio.com/lephe/fxsdk) installed and available
|
||||||
in the PATH. You will need `fxsdk` and `fxconv` to build gint, and if you
|
in the PATH. You will need `fxsdk` and `fxconv` to build gint, and if you
|
||||||
intend to develop add-ins for fx-9860G II, you probably want `fxg1a` as well.
|
intend to develop add-ins for fx-9860G II, you probably want `fxg1a` as well.
|
||||||
|
All these tools are built by default in the fxSDK.
|
||||||
|
|
||||||
fx-CG 50 developers probably want a g3a wrapper as well; the reference
|
fx-CG 50 developers probably want a g3a wrapper as well; the reference
|
||||||
implementation is tari's [mkg3a](https://www.taricorp.net/projects/mkg3a/).
|
implementation is tari's [mkg3a](https://www.taricorp.net/projects/mkg3a/).
|
||||||
|
@ -104,8 +101,8 @@ To use gint as your runtime environment, the bare minimum is:
|
||||||
|
|
||||||
If you don't have a standard library such as
|
If you don't have a standard library such as
|
||||||
[Memallox's port of newlib](https://git.planet-casio.com/Memallox/libc), you
|
[Memallox's port of newlib](https://git.planet-casio.com/Memallox/libc), you
|
||||||
also need `-nostdlib`. I typically use `-m3 -mb` or `-m4 -mb` to specify the
|
also need `-nostdlib`. I typically use `-m3 -mb` or `-m4-nofpu -mb` to specify
|
||||||
platform, but that may not even be necessary.
|
the platform, but that may not even be necessary.
|
||||||
|
|
||||||
Typically you might want to do this with the
|
Typically you might want to do this with the
|
||||||
[fxSDK](http://git.planet-casio.com/lephe/fxsdk), which hides most of the
|
[fxSDK](http://git.planet-casio.com/lephe/fxsdk), which hides most of the
|
||||||
|
|
|
@ -118,6 +118,7 @@ void bootlog_unmapped(int rom, int size)
|
||||||
void bootlog_kernel(void)
|
void bootlog_kernel(void)
|
||||||
{
|
{
|
||||||
print(20, 1, "K");
|
print(20, 1, "K");
|
||||||
|
dupdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* bootlog_driver() - driver load
|
/* bootlog_driver() - driver load
|
||||||
|
|
|
@ -131,6 +131,8 @@ static void ctx_restore(void *buf)
|
||||||
gint_driver_t drv_dma = {
|
gint_driver_t drv_dma = {
|
||||||
.name = "DMA",
|
.name = "DMA",
|
||||||
.init = init,
|
.init = init,
|
||||||
|
/* Make sure any DMA transfer is finished before leaving the app */
|
||||||
|
.unload = dma_transfer_wait,
|
||||||
.ctx_size = sizeof(ctx_t),
|
.ctx_size = sizeof(ctx_t),
|
||||||
.sys_ctx = &sys_ctx,
|
.sys_ctx = &sys_ctx,
|
||||||
.ctx_save = ctx_save,
|
.ctx_save = ctx_save,
|
||||||
|
|
Loading…
Reference in a new issue