Skip to content
Projets

À propos

NC2000/1020Emu, a 6502-based retro computer emulator. (文曲星NC2000/1020模拟器)

Jeux et émulation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+3
in 15 days
+4
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

NC2000/1020Emu

Retro device wqx nc2000/nc2600/nc1020 emulator, which emulates a 6502 SoC and peripherals. The emulator runs firmware dumped from physical device.

Cross-platform, supports running on windows/linux/mac.

nc2000/nc2600 is a series of 6502-based portable computer: image
image source

The device has following hardware:

  • 5MHZ 6502 CPU, integrated inside SPDC1024 SoC (implemented in cpu.cpp and cpu.h)
  • 512K x 8 Bit Nor Flash with Bus Flash interface, named SPR4096 (nor.cpp nor.h)
  • 32M x 8 Bit NAND Flash Memory, supplied by either Samsung or Toshiba (nand.cpp and nand.h)
  • 24K internal ram, 32K external ram, 4k addition ram built inside SPR4096 (ram.cpp and ram.h)
  • 00h~03Fh as special registers of SoC, also called IO Ports (io.cpp io.h)
  • memory mapping from 0000h~FFFFh controlled by 00h as "bank switch", 0Ah[0:3] as "BIOS bank switch", 0Ah[8] as "ROM/RAM select", 0D[0:1] as "volume select", 0D[2] as "ramb select" (mem.cpp mem.h)
  • 160*80 LCD with SPLD803A as LCD driver (display.cpp and display.h)
  • SPDS104A DSP with speaker (sound.cpp and sound.h and dsp folder)
  • QWERT keyboard (key.cpp and key.h)
  • IrDA and Serial port (UART protocol) (iv_uart.cpp and iv_uart.h)

PCB layout:

image

The rest of Readme is going to be in Chinese, there are a few more english materials in wiki.

Screenshots

imageimageimageimageimageimage
image image image
image image image
image image image

NC2000/1020Emu

文曲星nc2000/nc2600/nc1020模拟器。跨平台,可以运行在windows/linux/mac。

支持以下feature:

  • 运行从真机dump的rom
  • 兼容真机软件,和各种自制内核
  • 下载, 上传文件, 保存
  • 发音,蜂鸣器
  • 4灰度
  • 液晶格栅效果, 液晶残影, 液晶屏侧面的小图标
  • 热键唤醒, 闹铃唤醒
  • 红外/串口通信
  • 即时存档
  • 超频

经测试支持的rom:

  • nc2000a 官方3.3
  • nc2000c 官方3.5
  • nc2600c 官方3.2, 3.5内核 by 73139,3.5内核简体版 by luxietian ,4.1内核 by qiqi, 4.1内核保留剑桥版 by qiqi, 非常4.2内核 by 41824984, 5.0内核 by epc
  • 哈电族nc2000 官方3.6B
  • nc1020 官方3.6 4.3内核by SAILOR-HB 4.9内核 by ZHY 5.3内核 by 逍遥人
  • 哈电族nc1020 官方5.2

更多介绍见wiki 概述

按键

特殊键:

英汉 名片 计算 行程 测验 时间 网络 :F5~F11
on/off : F12

发音 报时:; '
求助 中英数 输入法 : [ ] \
红外:Alt

跳出 : ESC
翻页上 翻页下 : , ?

复位:ctrl+shift+F12

其他的键都跟直觉相符,与电脑上的同名键对应

另:

  • TAB可以切换快进模式
  • ` 可以进入模拟器内置的命令行
  • SHIFT + ` 可以切至其它键位

具体见wiki 模拟器键位

模拟器参数

切换型号和rom

nc2000 官方3.5:
 nc2000.exe --nc2000 --rom roms/nc2000
nc2600 官方3.2:
 nc2000.exe --nc2000 --rom roms/nc2600
nc1020 官方3.6:
 nc2000.exe --nc1020 --rom roms/nc1020

更多见wiki 切换不同机型和内核

超频

nc2000.exe --oc 2 (超频到2倍速)

调整屏幕

调整背景颜色

nc2000.exe --rgb-scale 1,1,0.92

屏幕背景色为红1.0绿1.0蓝0.92,也就是淡黄色背景,效果:

image

调整屏幕尺寸

nc2000.exe --pixel-size 3 --gap-size 1 --lcd-scale 1      

每个wqx像素对应3个屏幕像素,wqx像素间隔对应1个屏幕像素,缩放1倍

完整参数

见wiki 模拟器参数

模拟器命令行

按`进入模拟的内置的命令行后,可以输入各种命令,如图:

image

下载相关命令

create_dir folder1: 在文曲星当前目录内创建一个名为foler1的目录。

put A.bas B.bas :把电脑的A.bas下载到文曲星的当前目录,命名为B.bas

put A.bas 把电脑的A.bas下载到文曲星的当前目录,命名为A.bas (也就是上一个命令省略了一个参数的形式)

get B.bas A.bas :把文曲星的当前目录的B.bas上传到电脑,命名为A.bas

Note

  1. 如何切换当前目录呢? 你在文曲星上打开资源管理器,进入哪个目录,哪个目录就是你的当前目录。
  2. 以上命令需要文曲星在进入系统以后才可以运行。
  3. put命令是把文件原封不动下载到文曲星。文曲星常见的bin是加密的,需要先解密才能传到文曲星上用。 见wiki bin加密解密

flash保存

save_flash: 把模拟器对nand和nor的修改保存到硬盘。 默认模拟器是不会写硬盘的。

另外还支持完整的状态保存,这样玩宠物猫等游戏退出模拟器后进度不会丢失,具体使用见wiki 即时存档

其他命令

完整命令见wiki 模拟器命令

编译

见wiki How to compile

代码基于以下项目

这个项目本质上是Sim800和Wayback800的fork:

Sim800: cc800模拟器。 作者:曾半仙

Wayback800: cc800/pc1000模拟器。(同一作者的新版)

DSP功能基于:

Pc1000emux。 作者:Lee。

CPU[1], IO,中断处理参考、复用了:

Pc1000emux,nc3000emux旧版,nc3000emux新版(没有源码) 作者:Lee。

[1] 软件默认运行wayback的handypsp cpu实现,不过也支持pc1000emux的cpu实现用做对比查错。用 --cpu 2可以切换至pc1000emux的cpu

Bin解密功能基于:

Ftplink。 作者:Lee。

早期版本基于:

nc1020模拟器SDL版 作者:Wang-Yue。

nc1020模拟器C++源码(nc1020.cpp, nc1020.h),在多个项目中出现,原作者未知。

感谢

感谢以上项目作者。

此外,诗诺比对本项目提供了很多帮助,特此感谢。

Wiki

更多信息见wiki: https://github.com/wangyu-/NC2000/wiki/

Explorer des projets similaires

Chargement…