GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - scopeInfinity/QLifeProcessor: General-purpose processor with a 16-bit address & 32-bit data bus

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
draft
draft
 
 
emulator
emulator
 
 
output/programs
output/programs
 
 
planner
planner
 
 
programs
programs
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

CI

QLife Processor

A 16-bit address, 32-bit data line general-purpose processor architecture. Key features include external ROM program execution and real-time I/O capabilities.

Sample Programs

  • Ping Pong
    • 16x8 LED display with W/S/Up/Down keyboard controller
    • Source: ping_pong.asm
    • Generate resolved assembly: python3 -m planner asm -r programs/ping_pong.asm [example]
    • Generate binary: python3 -m planner asm -b programs/ping_pong.asm [example]
    • Run on python emulator: python3 -m planner compile_and_execute ping_pong
      • image
    • Run on verilog emulator: make verilog_simulate

Design

Specs

  • Memory Address Line: 16-bits (points to a byte)
  • Memory Value Line: 32-bits (4 bytes)
  • Max Memory: 64KB
  • Memory layout: here

Boot Sequence

  • programs/boot_sequence.asm binary (aka BROM) is mapped from address_line BOOTSEQUENCE_LOAD = 0x30
  • Memory Read
    • If BOOTSEQUENCE_ORG <= address_line < DEFAULT_PROGRAM_ORG, pulls value from BROM
    • Otherwise, pulls the value from RAM
  • Execution starts with PC at BOOTSEQUENCE_ORG = 0x34
  • BROM goal is to copy PROM to RAM at DEFAULT_PROGRAM_ORG = 0x80
  • Followed by jmp DEFAULT_PROGRAM_ORG

PROM

  • Programs like programs/ping_pong.asm are translated into binary and are referred to as PROM.
  • PROM is connected to as input-output device.
  • The equivalent program is loaded in RAM at DEFAULT_PROGRAM_ORG = 0x80, followed by execution after boot sequence.

About

General-purpose processor with a 16-bit address & 32-bit data bus

Topics

electronicspcb-designping-pongprocessorprocessor-architecturesimulator

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.