1
0
mirror of https://github.com/ggambetta/libz80.git synced 2025-04-18 18:44:02 +03:00

25 Commits

Author SHA1 Message Date
Gabriel Gambetta
7371ee85a1
Merge pull request #14 from internalregister/fix_debug_two_bytes_op
Fix Z80Debug function when printing OPs with two bytes.
2022-03-01 08:55:57 +01:00
InternalRegister
adaa131a71 Fix Z80Debug function when printing OPs with two bytes. 2022-02-28 20:37:07 +00:00
Gabriel Gambetta
81a0e9f84d
Merge pull request #13 from toptensoftware/master
Changed callback param to size_t to support 64-bit pointers
2021-01-05 14:57:04 +01:00
Brad Robinson
108463f560 Changed callback param to size_t to support 64-bit pointers 2021-01-06 00:07:42 +11:00
Gabriel Gambetta
75761f49fe
Merge pull request #12 from toptensoftware/master
Fixed const warnings with gcc + added a .gitignore
2021-01-05 10:43:32 +01:00
Brad Robinson
9138147f61 Removed #include <stdio.> from public header 2021-01-05 20:30:16 +11:00
Brad Robinson
5020d434e7 Fixed const warnings with gcc + added a .gitignore 2021-01-05 19:45:57 +11:00
Gabriel Gambetta
55520abc1c
Merge pull request #11 from amberisvibin/patch-1
implement @EtchedPixels 's 16-bit ADC fix
2020-08-31 13:56:27 +02:00
Amber
7d408cf2be
implement @EtchedPixels 's 16-bit ADC fix 2020-08-27 15:29:58 -04:00
Gabriel Gambetta
db034998ee
Merge pull request #10 from drawlings/master
Replace gcc in makefiles with $(CC)
2020-07-23 13:05:08 +02:00
Dustin Rawlings
7b0882e607 Replace gcc in makefiles with $(CC)
This commit allows other compilers besides gcc.

N.B. the "-ansi" flag is not supported in tcc, so this flag is
replaced with "-std=c89", which produces the same behavior as
"-ansi" in gcc and does not cause problems with tcc.
2020-07-22 19:02:22 -10:00
Gabriel Gambetta
c412822135
Merge pull request #8 from theStack/01_fix_implicit_declaration_warnings
get rid of "implicit declaration of function is...()" warnings
2020-02-19 10:02:33 +01:00
Sebastian Falbesoner
d9ebb6ec3a get rid of "implicit declaration of function is...()" warnings
The functions isspace(), isupper(), is[x]digit() were declared implicitely
(i.e. the header file was missing), leading to compiler warnings such as the
following:

---
gcc -g -o mktables mktables.c
mktables.c: In function ‘printCall’:
mktables.c:215:9: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
  while (isspace(*p) && (*p))
         ^
---

By including the correct header "ctype.h", the warnings are gone.
2020-02-19 01:19:10 +01:00
Gabriel Gambetta
c7116740ae
Merge pull request #7 from apuder/master
Make library work on an ESP32
2019-10-20 11:20:18 +02:00
Arno Puder
2e5ab08104 Make library work on an ESP32
- explicitly use "signed char" for all displacements
- make opcode tables const to avoid using up RAM
2019-10-19 17:42:37 -07:00
Gabriel Gambetta
35fa0b5789
Merge pull request #6 from luzpaz/typos
Fix misc. source comments
2019-10-09 18:30:36 +02:00
luz.paz
1751c01b85 Fix misc. source comments
Found via `codespell -q 3 -L ba,daa`
2019-10-09 11:08:33 -04:00
Gabriel Gambetta
0ab69c3101
Merge pull request #5 from SamTebbs33/master
Include stdio.h with < and > rather than "
2019-08-01 19:21:08 +02:00
Sam Tebbs
f828456ded
Include stdio.h with < and > rather than " 2019-08-01 15:11:21 +01:00
Gabriel Gambetta
8a1f935daa
Merge pull request #3 from Ybalrid/master
Fix C++ linkage
2019-04-09 20:33:16 +02:00
Arthur Brainville
ae2c79ddcc
Fix C++ linkage 2018-09-24 20:39:44 +02:00
Gabriel Gambetta
33ddb38a9c Bugfix in trim(). Added pre-generated files. h/t gamemanj@hotmail.co.uk 2014-03-22 20:45:32 +01:00
Gabriel Gambetta
3486dc1abe Merge pull request #1 from cloose/master
Fix wrong sign condition check
2013-08-19 01:14:50 -07:00
Christian Loose
382e5f52a6 Fix wrong sign condition check
Fix wrong sign condition check (C_P) in condition() function. The condition only depends on the sign flag (F_S).
2013-08-19 08:49:18 +02:00
Gabriel Gambetta
1bdc39f132 Imported. 2013-08-09 19:47:39 +02:00