Search found 53 matches

by nitrofurano
Wed Feb 23, 2022 8:43 pm
Forum: Software & Programming
Topic: another experience on superbasic
Replies: 4
Views: 1259

Re: another experience on superbasic

improved the code a bit, but some blinking flash glitches appeared (i have no idea why)
by nitrofurano
Tue Feb 22, 2022 10:59 pm
Forum: Software & Programming
Topic: keyrow from assembly
Replies: 14
Views: 2690

Re: keyrow from assembly

... *************************************************************************************** * keyScan * Check keyboard row 1 (cursor keys, ESC, Enter and Space) * return result in d1.b * trashes d5 and d7! *************************************************************************************** keySc...
by nitrofurano
Tue Feb 22, 2022 9:12 pm
Forum: Software & Programming
Topic: keyrow from assembly
Replies: 14
Views: 2690

Re: keyrow from assembly

and at http://www.dilwyn.me.uk/docs/manuals/qltm.pdf i'm seeing "18.13 Hardware Keys", "PC_IPCRD $18020 IPC read is the same", "PC_IPCWR $18003 IPC write" - does it mean that we can access ipc "directly" by poke/peek (i/o), and specially reading the keyrows, w...
by nitrofurano
Tue Feb 22, 2022 6:31 pm
Forum: Software & Programming
Topic: another experience on superbasic
Replies: 4
Views: 1259

Re: another experience on superbasic

faster version, using pokelong and peeklong&() (poke_l and peek_l() ) instead of poke and peek
by nitrofurano
Tue Feb 22, 2022 5:27 pm
Forum: Software & Programming
Topic: keyrow from assembly
Replies: 14
Views: 2690

Re: keyrow from assembly

when trying to know better about a hardware, i normally use mame/mess sources as reference - https://raw.githubusercontent.com/mamedev/mame/master/src/mame/drivers/ql.cpp (some info about the keyboard seems used as ipc_port1_w there), but i have no idea which i/o port are, how to access them, and ev...
by nitrofurano
Tue Feb 22, 2022 2:56 pm
Forum: Software & Programming
Topic: keyrow from assembly
Replies: 14
Views: 2690

keyrow from assembly

how can we get keyrow values from assembly? it seems to be by only "peeking" i/o addresses, isn't it?
(btw, is there any i/o ports/memory arrangement documentation around that you could reccommend? unexpanded QL only, please...)
by nitrofurano
Tue Feb 22, 2022 2:26 pm
Forum: Software & Programming
Topic: another experience on superbasic
Replies: 4
Views: 1259

Re: another experience on superbasic

recoded it on SecondBasic
i only needed to replace

Code: Select all

 lsl.l #10,d0
with

Code: Select all

 lsl.l #7,d0
 lsl.l #3,d0 
so Vasm would recognize it
by nitrofurano
Mon Feb 21, 2022 4:26 pm
Forum: Software & Programming
Topic: another experience on superbasic
Replies: 4
Views: 1259

Re: another experience on superbasic

might look like this
by nitrofurano
Mon Feb 21, 2022 4:22 pm
Forum: Software & Programming
Topic: another experience on superbasic
Replies: 4
Views: 1259

another experience on superbasic

its a bit slow - i'm going to try something faster from secondbasic soon - perhaps i might try to code a simple game based on it later
(i have no idea how fine would it run on expanded ql)
by nitrofurano
Sun Feb 13, 2022 6:14 pm
Forum: Software & Programming
Topic: how useful can be cross-compiling from SecondBasic?
Replies: 6
Views: 1482

Re: how useful can be cross-compiling from SecondBasic?

it works! (at least on unexpanded ql... :) )