https://github.com/SlithyMatt/multi-mandlebrot
Z80N assembler code is present in that repo but I do not know (Z80) assembler so I have been unable to get it to build and they haven't uploaded any binaries for the Next. I'd like to know how the Z80N running at full speed (28 Mhz) compares to the Agon Light 2 and the Uzebox. I already know the Uzebox is the fastest but by how much, compared to the Next?
I have looked at some other bits of asm for the Next and it seems that if I want to build this with sjasmplus then I need to do at least two things, I think:
Add some statements like these to the top of the file:
Code: Select all
; Allow Next paging and instructions
DEVICE ZXSPECTRUMNEXT
SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION
Code: Select all
;;--------------------------------------------------------------------
;; Set up .nex output
;;--------------------------------------------------------------------
; This sets the name of the project, the start address,
; and the initial stack pointer.
SAVENEX OPEN "mand24.nex", 0, $ff40
; This asserts the minimum core version. Set it to the core version
; you are developing on.
SAVENEX CORE 2, 0, 0
; This sets the border colour while loading (in this case white),
; what to do with the file handle of the nex file when starting (0 =
; close file handle as we're not going to access the project.nex
; file after starting. See sjasmplus documentation), whether
; we preserve the next registers (0 = no, we set to default), and
; whether we require the full 2MB expansion (0 = no we don't).
SAVENEX CFG 7, 0, 0, 0
; Generate the Nex file automatically based on which pages you use.
SAVENEX AUTO
Could someone who does know z80 for the Next please take pity and tell me how I get these programs building and running? I can then submit a PR for the repo if you don't want to do that, although it looks like its a dead project.
Any recommended tutorials for assembly coding on the Next?