orgMINT / MINT

MINT2 The latest version of MINT
GNU General Public License v3.0
16 stars 3 forks source link

need macro to load and run a whole program in asm80 for testing #40

Open SteveJustin1963 opened 1 week ago

SteveJustin1963 commented 1 week ago

my programs are now bigger than the 2k ram // i thnk as they are getting larger so i load and test them on my realtec1 so, simialr to code test.FAST.z80 can u write a macro were i can load and run a whole program from asm80 that has 64k ram. because cannot drag and drop into terminal on it

i will add more ram soon to my tec one. assume will mod the file constants.asm

TEC_1 EQU 1
RC2014 EQU 0
EXTENDED EQU 0

.if RC2014

; Configuration for RC2014

ROMSTART    EQU $8000
RAMSTART    EQU $8800
LOADER EQU 0              
BITBANG EQU 0

.endif

.if TEC_1

; Configuration for TEC-1
LOADER EQU 0                  ; <<<<<can this be used to load a program into mint on asm80 ???
BITBANG EQU 0

ROMSTART    EQU $0000
RAMSTART    EQU $0800
ROMSIZE     EQU $0800
RAMSIZE     EQU $0800 ; << will make this larger

;TEC-1D SC 8k rom/ram 
; ROMSTART .equ $0000
; RAMSTART .equ $2000
; ROMSIZE  .equ 8192
; RAMSIZE  .equ 8192

.endif
SteveJustin1963 commented 1 week ago

using https://github.com/orgMINT/MINT/blob/main/testbed.z80 i inserted my code in line 21, and then ran asm80 emulator F10, it did not behave as expected. it cannot out put . and program cannot run interactively it exits with code result