z80 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/CITATION.cff +2 -2
- data/ext/z80/z80.c +4 -7
- data/lib/z80/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7127ba75b47ae54758721e1a7db87984334826633a39605772f4c0530e888f4
|
4
|
+
data.tar.gz: ad2660a9e28bd3b0f4ad08468c84066eea7a87351c4079717041ccdbd11aca03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d9e5ad2028dcffd3676260cf3b440c0a3f5e4c362ef6af1de0e13b9cd16faa888211d75f22cfae977b7664178e112d2a70d896e615f8d8079168d2134f9523a
|
7
|
+
data.tar.gz: a33735315fc7c33a6419e0e0d4af0d204962491a2f040002d4aa6f47bbdbc2baa60e677798eaba9dcd5313f3d09c63ee66009ceb99d19790f5c56afd8d84e99a
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
# Z80-Ruby
|
1
|
+
# Z80-Ruby Changelog
|
2
|
+
|
3
|
+
This is the version history and changelog of Z80-Ruby. Version numbers do not correlate with those of the Z80 library. Release dates are in UTC time zone.
|
4
|
+
|
5
|
+
## 0.3.1 / 2024-01-05
|
6
|
+
|
7
|
+
### Bugfixes
|
8
|
+
|
9
|
+
* Fixed `Z80#full_r`, which previously acted as `Z80#refresh_address` by mistake.
|
2
10
|
|
3
11
|
## 0.3.0 / 2024-01-03
|
4
12
|
|
data/CITATION.cff
CHANGED
@@ -6,7 +6,7 @@ authors:
|
|
6
6
|
email: manuel@zxe.io
|
7
7
|
website: https://zxe.io
|
8
8
|
cff-version: 1.2.0
|
9
|
-
date-released: 2024-01-
|
9
|
+
date-released: 2024-01-05
|
10
10
|
keywords:
|
11
11
|
- binding
|
12
12
|
- CPU
|
@@ -20,5 +20,5 @@ message: If you use this software, please cite it using these metadata.
|
|
20
20
|
repository-code: https://github.com/redcode/Z80-Ruby
|
21
21
|
title: Z80-Ruby
|
22
22
|
type: software
|
23
|
-
version: 0.3.
|
23
|
+
version: 0.3.1
|
24
24
|
url: https://zxe.io/software/Z80-Ruby
|
data/ext/z80/z80.c
CHANGED
@@ -168,8 +168,7 @@ static CallbackInfo const callback_info_table[] = {
|
|
168
168
|
{Z_MEMBER_OFFSET(Z80, reti ), NULL, proc_reti, method_reti, },
|
169
169
|
{Z_MEMBER_OFFSET(Z80, retn ), NULL, proc_retn, method_retn, },
|
170
170
|
{Z_MEMBER_OFFSET(Z80, hook ), NULL, proc_hook, method_hook, },
|
171
|
-
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }
|
172
|
-
};
|
171
|
+
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }};
|
173
172
|
|
174
173
|
|
175
174
|
static void set_callback(VALUE self, VALUE object, zuint index)
|
@@ -504,8 +503,7 @@ uint16_members[] = {
|
|
504
503
|
{"af_", Z_MEMBER_OFFSET(Z80, af_ )},
|
505
504
|
{"bc_", Z_MEMBER_OFFSET(Z80, bc_ )},
|
506
505
|
{"de_", Z_MEMBER_OFFSET(Z80, de_ )},
|
507
|
-
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}
|
508
|
-
},
|
506
|
+
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}},
|
509
507
|
|
510
508
|
uint8_members[] = {
|
511
509
|
{"i", Z_MEMBER_OFFSET(Z80, i )},
|
@@ -519,8 +517,7 @@ uint8_members[] = {
|
|
519
517
|
{"iff1", Z_MEMBER_OFFSET(Z80, iff1 )},
|
520
518
|
{"iff2", Z_MEMBER_OFFSET(Z80, iff2 )},
|
521
519
|
{"int_line", Z_MEMBER_OFFSET(Z80, int_line )},
|
522
|
-
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}
|
523
|
-
};
|
520
|
+
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}};
|
524
521
|
|
525
522
|
|
526
523
|
static VALUE Z80__to_h(int argc, VALUE *argv, VALUE self)
|
@@ -835,7 +832,7 @@ void Init_z80(void)
|
|
835
832
|
rb_define_method(klass, "execute", Z80__execute, 1);
|
836
833
|
rb_define_method(klass, "run", Z80__run, 1);
|
837
834
|
rb_define_method(klass, "terminate", Z80__terminate, 0);
|
838
|
-
rb_define_method(klass, "full_r",
|
835
|
+
rb_define_method(klass, "full_r", Z80__full_r, 0);
|
839
836
|
rb_define_method(klass, "refresh_address", Z80__refresh_address, 0);
|
840
837
|
rb_define_method(klass, "in_cycle", Z80__in_cycle, 0);
|
841
838
|
rb_define_method(klass, "out_cycle", Z80__out_cycle, 0);
|
data/lib/z80/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: z80
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Sainz de Baranda y Goñi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|