↓
 

L Break Into Program, 0:1

Retro Computer Preservation

  • Home
  • Programming
    • BASIC
      • Part 1: Hello!
      • Part 2: Variables
      • Part 3: IF…
      • Part 4: Loops
      • Part 5: Subroutines
    • Assembly Language
      • Primer
        • Part 1: Numbers
        • Part 2: Maths
        • Part 3: Branching and Loops
      • Z80
        • Z80 Opcodes
  • Hardware
    • Computers
      • Agon
      • ZX81
        • Motherboard
      • ZX Spectrum
        • Motherboard
        • Memory Map
        • Keyboard
        • Screen Memory Layout
        • Interrupts
        • Sound
        • Character Set
        • Assembly Language
          • Z80 Development Toolchain
          • Z80 Tutorials
          • Z80 Library Routines
          • Z80 Demos
      • ZX Spectrum Next
        • Assembly Language
          • Z80 Development Toolchain
          • Z80 Library Routines
          • Z80 Demos
    • Components
      • Z80
      • 8250 UART
  • Links
  • My Collection
  • About Me

Category Archives: Code

Source Code

Post navigation

← Older posts
Newer posts →

C Complier for Z80

L Break Into Program, 0:1 Posted on June 4, 2018 by Break Into ProgramJune 5, 2018

Here’s an interesting project I came across last week through a contact on LinkedIn – a C Compiler for the Z80 processor. The Z88 DK project was originally conceived for the Cambridge Z88, but now supports a variety of Z80 based platforms including the ZX Spectrum. There are the generic libraries you’d expect from a C compiler including stlib, maths, malloc and string, as well as support for sprites, sound, interrupts and 3D rotation. In …

Posted in Code, Software Development | Tagged C++, Programming, Spectrum, Z80
A-Star Wayfinder Search running on Raspberry Pi

My first Raspberry Pi Application

L Break Into Program, 0:1 Posted on July 12, 2012 by Break Into ProgramJanuary 26, 2020

This application is a C++ application that I wrote for my employees as part of our interactive shopping centre kiosk product. The bulk of the kiosk application is written in Adobe Flash with some backend code (in Perl / Bash and C++) for additional functionality. This module provides the data for an on-screen route planner so that the shoppers can find a route to a particular shop from the kiosk. A bit like a TomTom …

Posted in Code, Software Development | Tagged C++, Programming, Raspberry PI

Demo Code #2 – Circle

L Break Into Program, 0:1 Posted on July 5, 2012 by Break Into ProgramJuly 5, 2012

Short post today; updated the libraries and demo code to include the following: math.asm – Added sqrt and multiply routines (thanks to the Internet). vector.asm – Added circle, optimised horizontal line & wireframe triangle routines. screen_buffer.asm – Added fast stack pointer clear screen routine. The source for demo_vector.asm has also been updated to allow the user to select which point on the triangle to move with the cursor by pressing the space bar, and drawing …

Posted in Code, Software Development

Demo Code #1 – Vector Graphics

L Break Into Program, 0:1 Posted on July 1, 2012 by Break Into ProgramJuly 5, 2012

I’m currently working on a vector graphics library; this will eventually include fast implementations of line, circle and triangle rendering. There will be options to render on the standard Spectrum screen (with it’s horrid layout) and to a more sensibly laid out offscreen bitmap. I’m also going to add filled circle and triangle with optional texture shading (an 8×8 graphic). I’ve just reworked a version of Bresenhams Incremental Line Algorithm in Z80, working in one …

Posted in Code, Software Development | Tagged Assembly, Programming, Screen, Spectrum

Starting Programming (Part 1)

L Break Into Program, 0:1 Posted on June 16, 2012 by Break Into ProgramJune 16, 2012

I wrote a few months back about resources for kids who want to get into programming and mentioned a resource called YOUSRC. I tweet the man behind the curtain, Paul Clarke (@YOUSRC) on a fairly regular basis and after a conversation about Bresenham’s Incremental Line Algorithm (a fast way to plot any line without using floating point arithmetic) in response to a game he’d written on the site (Missile Command), I thought I’d have a …

Posted in Code, Software Development | Tagged BASIC, Programming

Post navigation

← Older posts
Newer posts →

Search

I ran the 2025 Manchester 10K in aid of

Click here to sponsor me

Recent Posts

  • Installing a Gotek in a Tatung Einstein TC-01
  • A guide to EinTrans
  • Installing a WCH CH352 PCI serial card on a Linux PC
  • Retro Computer Festival 2024
  • Don’t trust a multimeter with a low battery
  • Retro Computer Festival 2024 – Exhibit 4
  • Retro Computer Festival 2024 – Exhibit 3
  • Retro Computer Festival 2024 – Exhibit 2
  • Retro Computer Festival 2024 – Exhibit 1
  • Recreating my ’80s dev system (Epilogue)

Categories

  • Events (6)
  • Hardware (56)
    • Acorn BBC Micro (3)
      • Repairs (3)
    • Commodore 64 (4)
      • Repairs (4)
    • Spectrum Next (1)
    • Tatung Einstein (8)
    • ZX Spectrum (25)
      • Repairs (13)
    • ZX81 (2)
      • Repairs (1)
  • Musings (20)
  • Projects (19)
    • Cerberus 2080 (2)
      • BBC Basic (2)
    • Harlequin (1)
    • High Altitude Balloon (1)
    • Homebrew Z80 (8)
    • Pico (5)
    • Spectrum Next (2)
      • BBC Basic (2)
  • Reviews (3)
  • Software Development (28)
    • Code (13)
  • Twop Twips (1)
  • Uncategorized (1)

Tags

6502 Assembly AY-3-8912 BASIC BBC Basic BBC Micro C++ Clock Commodore 64 Composite Video Debugging DMA Electronics Emulator Game GitHub Hardware Homebrew Interrupts Maths PC PCB Pico PIO Power Supply Programming Python RAM Raspberry PI Recap Repair Retro Festival Scouts Screen Scrolling SD Card Sound Spectrum Spectrum Next Sprites Tatung Einstein Tim Follin YouTube Z80 ZX81
©2025 - L Break Into Program, 0:1
↑