Started by Bryce, 14:10, 31 May 14
0 Members and 1 Guest are viewing this topic.
Quote from: Devilmarkus on 14:22, 31 May 14WinCPC, WinApe and also JavaCPC have an integrated assembler code editor and compiler.Usually you don't need anything else.
Quote from: ralferoo on 22:02, 31 May 14I find the editor in WinAPE pretty much unusable, although you might get away by following Grim's guide (linked above). But the editor... No undo and control keys usually just insert a literal control character into the source! So, if you select a block and accidentally delete something (e.g. pressing C rather than ctrl-C for copy), there's no way to revert the delete. It's crazy!
Quote from: Bryce on 23:08, 02 June 14I've been trying out WinApe for a few hours and actually I find the editor ok. Haven't found anything I didn't like so far, so I'll stick with that for now.
nolist'SymbOS MSX mass storage device driver for'MegaSD compatible SD[xc] card reader (OCM and MegaFlashRomSCC+SD)write "..\..\..\msx\-SDMEGA.DRV"READ "..\SymbOS-File-Const.asm"READ "Drv-SDMega.asm"
Quote from: Bryce on 10:27, 03 June 14That's an interesting solution, I'll try that out too.
Quote from: Bryce on 12:42, 03 June 14Grim?
Quote from: Bryce on 12:42, 03 June 14What registers are normally used for simple loops (for both <256 cycles and >256 cycles).
ld b,16loop: ... do something ... djnz loop
ld de,1634loop: ... do something ... dec de ld a,d or e jp nz,loop
Quote from: Bryce on 12:42, 03 June 14On a PIC I assign RAM to use as variables/Flags like this: Var1 equ &FF. What part of the CPCs RAM should I use for things like this?
8-bit: ld a,(my_variable) inc a ld (my_variable),a retmy_variable: defb 3216-bit ld hl,(my_variable) inc hl ld (my_variable),hl retmy_variable: defw &3024
ld hl,my_arrayloop: ld a,(hl) ... a now holds 1st element in array inc hl jr loopmy_array defb 32,55,99,22,59 ...
Quote from: Bryce on 12:42, 03 June 14I'm also looking for information on passing values from MC to a BASIC variable if anyone can point me to that.
Quote from: Bryce on 15:34, 03 June 14The software is running from ROM, so DEFB or DEFW doesn't work within the code.
push de push hl ld hl,InitMessage call PrintString pop hl pop de and a ld bc,4 ; take 4 bytes of CPC RAM sbc hl,bc scf ret
Quote from: Bryce on 16:12, 03 June 14Yes, I've done that, but how do I get that data to a string?
Page created in 0.181 seconds with 52 queries.