mirror of
https://github.com/st3fan/ewm.git
synced 2026-10-25 17:02:19 +00:00
ewm one now runs windowed: - ewm-core/src/chr.rs: the bitmap half of chr.c — the 2716 character ROM (3410036.bin, embedded) decodes to 7x8 glyphs indexed by Apple ][ screen code, with the same table layout as ewm_chr_init (normal $A0-$DF, inverse $00-$3F, flashing-as-inverse $40-$7F). Unit tests pin the 'A' glyph, inverse glyphs, and unmapped slots. - ewm/src/tty.rs: tty.c — 24x40 screen buffer, scrolling, blinking cursor, rendered into a 280x192 pixel buffer. - ewm/src/sdl.rs: sdl.c — pixel-format pick and green phosphor color. - ewm/src/one.rs: the SDL loop of one.c — 40 fps cycle bursts (1023000/40), the same key mapping (including one.c's TAB fallthrough that also sends DEL, and ctrl-a mapping to 0x00), Cmd-Esc reset, Cmd-Return fullscreen, and --model/--memory/ --trace/--strict flags. Extra --memory regions are supported by new One::add_ram/add_rom (dispatched LIFO like the C mem list). - ewm/src/main.rs: subcommand dispatch; two/boo report not ported. The sdl2 crate now uses the use-pkgconfig feature: linking the real SDL symbols needs the Homebrew/pkg-config library path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
120 lines
3.0 KiB
TOML
120 lines
3.0 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 4
|
|
|
|
[[package]]
|
|
name = "adler2"
|
|
version = "2.0.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.3.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "1.0.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
|
[[package]]
|
|
name = "crc32fast"
|
|
version = "1.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
|
|
dependencies = [
|
|
"cfg-if",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ewm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"ewm-core",
|
|
"sdl2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ewm-core"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"flate2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "flate2"
|
|
version = "1.1.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
|
|
dependencies = [
|
|
"crc32fast",
|
|
"miniz_oxide",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lazy_static"
|
|
version = "1.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.186"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
|
|
[[package]]
|
|
name = "miniz_oxide"
|
|
version = "0.8.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
|
|
dependencies = [
|
|
"adler2",
|
|
"simd-adler32",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pkg-config"
|
|
version = "0.3.33"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
|
|
|
|
[[package]]
|
|
name = "sdl2"
|
|
version = "0.38.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2d42407afc6a8ab67e36f92e80b8ba34cbdc55aaeed05249efe9a2e8d0e9feef"
|
|
dependencies = [
|
|
"bitflags",
|
|
"lazy_static",
|
|
"libc",
|
|
"sdl2-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "sdl2-sys"
|
|
version = "0.38.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3ff61407fc75d4b0bbc93dc7e4d6c196439965fbef8e4a4f003a36095823eac0"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"libc",
|
|
"pkg-config",
|
|
"version-compare",
|
|
]
|
|
|
|
[[package]]
|
|
name = "simd-adler32"
|
|
version = "0.3.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
|
|
|
|
[[package]]
|
|
name = "version-compare"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29"
|