English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 08 August 2009, 17:51   #21
Asman
68k
 
Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 828
hi redblade,

great. please put this disk to the zone.

btw: any progress with your project ( trainer menu 100% system ) ?.

cheers
Asman is offline  
Old 09 August 2009, 05:21   #22
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Er, I've just been busy ReSourcing other code and small intros, and ripping fonts and shit.
redblade is offline  
Old 01 March 2010, 02:04   #23
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
sorry about the long delay tho, heres the os friendly input.device example to read a keyboard from one of the ex44 disks.

still having trouble converting rgbboxes.c to asm as I don't know how to convert tags to asm.
Attached Files
File Type: txt os_keyread.s.txt (2.0 KB, 238 views)
redblade is offline  
Old 01 March 2010, 09:50   #24
Asman
68k
 
Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 828
Hi redblade, no problem, time has no meaning ( sometimes ). Only the task has . As far as remember tags are simple. First you should check tagitem.i in includes:utility drawer. For example if you have:
Code:
struct TagItem vcTags[] =
{
    {VTAG_ATTACH_CM_SET, NULL },
    {VTAG_VIEWPORTEXTRA_SET, NULL },
    {VTAG_NORMAL_DISP_SET, NULL },
    {VTAG_END_CM, NULL }
};
Above code in asm:
Code:
vcTags:
 dc.l VTAG_ATTACH_CM_SET, 0
 dc.l VTAG_VIEWPORTEXTRA_SET,0
 dc.l VTAG_NORMAL_DISP_SET,0
 dc.l VTAG_END_CM,0
Regards

Last edited by Asman; 01 March 2010 at 09:58.
Asman is offline  
Old 05 March 2010, 13:44   #25
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Thanks Asman.
redblade is offline  
Old 18 January 2011, 21:48   #26
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Hi,

Just adding my bit to this old thread, as I need help finding info relating to this topic.

I have successfully found and can recieve data from the SDR (keyboard) from CIAA (data is currently directly transmitted to the current screen). However, I do not have access to the scancode table for the Amiga 600 (my preferred Amiga). Does anyone know where I can find one?


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 19 January 2011, 11:54   #27
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
The scan codes are the same for all Amiga models. Some have a few keys more or less.

Look out for a copy of the Amiga Hardware Reference Manual on the net. In appendix H you will find a map with all codes.
phx is offline  
Old 19 January 2011, 18:38   #28
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Quote:
Originally Posted by phx View Post
The scan codes are the same for all Amiga models. Some have a few keys more or less.

Look out for a copy of the Amiga Hardware Reference Manual on the net. In appendix H you will find a map with all codes.

I already own the Hardware Reference Manual (1989 Edition), and there is a scancode matrix table in Appendix H (Keyboard). It states that it is for A500,A1000 and A2000 only, which is why I wasn't sure whether the codes would be different for the A600.

Even if the scancodes do remain the same, I do know that some keys are moved around depending on the keyboard (e.g. Azerty and Qwerty) and user settings (e.g. Dvorak).


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 20 January 2011, 10:01   #29
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by Lonewolf10 View Post
Even if the scancodes do remain the same, I do know that some keys are moved around depending on the keyboard (e.g. Azerty and Qwerty) and user settings (e.g. Dvorak).
The scan codes are always the same. What changes is how they are interpreted. For example the key right of the TAB key does always have code $10. If you see that code as a 'Q' or 'A' key depends on you.
Appendix H assigned a US keymap to the codes.
phx is offline  
Old 20 January 2011, 18:32   #30
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Quote:
Originally Posted by phx View Post
The scan codes are always the same. What changes is how they are interpreted. For example the key right of the TAB key does always have code $10. If you see that code as a 'Q' or 'A' key depends on you.
Appendix H assigned a US keymap to the codes.
Ok. Thanks for confirming what I had thought


Regards,
Lonewolf10
Lonewolf10 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
(ASM, C ) input.device Asman Coders. General 4 16 July 2009 10:10
UAENet.device Doc Mindie support.WinUAE 8 13 October 2008 14:00
uaehf.device and HDToolbox: Error 224 reading device description Ebster support.WinUAE 3 16 September 2008 09:24
CDDA Device Thalion support.Apps 2 14 February 2005 14:13
CD32 cd device ??? Tony Landais support.Hardware 1 16 December 2003 01:29

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11188 seconds with 14 queries