Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
96 user(s) are online (62 user(s) are browsing Forums)

Members: 0
Guests: 96

more...

Headlines

Forum Index


Board index » All Posts (jabirulo)




Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Oh great!!! Hope he will answer ASAP.

alpha: just keep as minimum, just path gadget and AISS images. No configuration possible.
alpha+beta: if no big bugs/crashes/whatever make a minimal config.
beta: ..bugfix and more bugfix

and the rule the world!!! muuuhahahaaaaa!!

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@TSK

http://jabirulo.byethost13.com/temp/testSetMethod.7z
(and thx geennaam)

And yes, next thing I was going to try is WinPtr->UserPort thing, hope doesn't "swallow" other original WB window events.

Go to top


Re: Astromenace - AmigaOne X5K Game - Amiga OS 4.1
Just can't stay away
Just can't stay away


@AmigaSociety

For RX ard you need RadeonRX.chip driver, and IIRC last version is 2.12 or something alike (in Enhancer Software 2.2).

And RadeonHD.chip driver:
V5 supported graphics card:
- Radeon R7 250/250X/265
- Radeon R9 270/270X/280/280X

V3 supported graphics card:
- Radeon X1300-X1950 graphics (not recommended)
- Radeon HD 2000-7000 series graphics card (excluding the Radeon HD 7790)
- Radeon R5 230/235/235X
- Radeon R7 250X/265
- Radeon R9 270/270X/280/280X

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Yes, but look what this thread is looking for

Dunnot if such CX only patches some parts (like my buggy testSetMethod) or it creates a "new" wb window.

But looks quite nice.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

But don't know how to "bind" mouse events to such gadget. :-/

EDIT: updated code. Uses TBImages and added 2nd (parent) button, events aren't triggered/coded.


Edited by jabirulo on 2023/11/17 14:55:32
Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Sure it crash, leaks and will show dragons on your miggy is dirty hack.

Updated program.
When you launch it and you open a WB window juts click on the upper left of the window inner space it should show a red/green button:

[ ] windowtitle             [][]
--------------------------------
||  
<-here                 | |
||                           | |

just hackish/dirty code.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

yep, I udpated my testSetMethod.c (uploaded to same place as previous one).

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Hi, you use "myWindow = IIntuition->OpenWindowTagList(NULL, &wintags[0]);"

and should get something like this:
[NEW]OpenWindowTagList(NewWindowTagItems):
       
NewWindow (0x00000000)

and nothing more, 'cos you pass NULL to NewWindow (struct) and I added " if(newWin == NULL) { return oldOpenWinFunc(ii, newWin, tagList); }" to my testSetMethod.c

and when you open "RAM Disk:" from WB you get::
[NEW]OpenWindowTagList(NewWindowTagItems):
       
NewWindow (0x600665e0):
            
L=  50   T=  50
            W
481   H292
              Type 
0x0001
             Flags 
0x0200107f
                     0x02000000 
(WFLG_WBENCHWINDOW)
          
Gad_#01 = 0x6006662e
          
Gad_#02 = 0x6006665a
          
Gad_#03 = 0x60066686
          
Gad_#04 = 0x600666b2
          
Gad_#05 = 0x600666de
          
Gad_#06 = 0x6006670a
       
TagItems:
          
ti_Tag 0x8000007f ->            WA_BackFill 0x5fed9588
          ti_Tag 
0x80000098 ->        WA_PointerDelay 0x00000001
          ti_Tag 
0x8000006f ->         WA_ScreenTitle 0x6ff2233f
          ti_Tag 
0x80000093 ->        WA_NewLookMenus 0x00000001
          ti_Tag 
0x80000090 ->          WA_AutoAdjust 0x00000001
          ti_Tag 
0x80000092 ->            WA_MenuHelp 0x00000001
          ti_Tag 
0x800000ab ->          WA_AlphaClips 0x00000018
          ti_Tag 
0x800000a6 ->           WA_GrabFocus 0x00000001


'Cos it passes NewWindow data (struct).
And not quite sure, but maybe we can AddGadget (in a nice/proper way) to the last (Gad_#06) one and show a toolbar or whatever we want.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

yes, but did you notice that only WB windows show a (new)window pointer?
If you open other program it doesn't trigger (New)Window pointer.
So maybe there is some "way" to AddGadget to such (new)window, after last gadget of such window:

struct Gadget *ngad;
    
int32 i;
...
    
IExec->DebugPrintF("0x%08lx (WFLG_WBENCHWINDOW)\n",newWin->Flags&WFLG_WBENCHWINDOW);
...
    
ngad newWin->FirstGadget;
    
1;
    while(
ngad) {
        
IExec->DebugPrintF("Gad_#%02ld = 0x%08lx\n",i++,ngad);
        
ngad ngad->NextGadget;
    }



example opening WB RAM Disk:
[NEW]OpenWindowTagList(): win=0x600668d0
L= 50 T= 50
W= 481 H= 292
Flags = 0x0200107f
0x02000000 (WFLG_WBENCHWINDOW)
Gad_#01 = 0x6006691e
Gad_#02 = 0x6006694a
Gad_#03 = 0x60066976
Gad_#04 = 0x600669a2
Gad_#05 = 0x600669ce
Gad_#06 = 0x600669fa
ti_Tag = 0x8000007f -> WA_BackFill : 0x5fed9588
ti_Tag = 0x80000098 -> WA_PointerDelay : 0x00000001
ti_Tag = 0x8000006f -> WA_ScreenTitle : 0x6ff2233f
ti_Tag = 0x80000093 -> WA_NewLookMenus : 0x00000001
ti_Tag = 0x80000090 -> WA_AutoAdjust : 0x00000001
ti_Tag = 0x80000092 -> WA_MenuHelp : 0x00000001
ti_Tag = 0x800000ab -> WA_AlphaClips : 0x00000018
ti_Tag = 0x800000a6 -> WA_GrabFocus : 0x00000001


chekcing with ranger such gadgets are Bool/Prop-gadgets.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Tried the same, but no idea what flags do use WB windows.

Anyway try this one (source included), little test I didi it only shows (serial output) WB windows, other program/notify are skipped:

http://jabirulo.byethost13.com/temp/testSetMethod.7z

Go to top


Re: Adding an Amiga menu to an SDL1 window?
Just can't stay away
Just can't stay away


@Capehill

thx fixed to:
..
  if(
SDL_GetWMInfo(&wmInfo) == 1) { return(wmInfo.window); }

  return(
NULL);
}


@Samir
it exists since "aaages" in our update/port, but didn't try to add menus to SDL/GL windows yet.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@kas1e

Hi, not sure, but maybe check WFLG_WBENCHWINDOW flag on all WB windows and ones with such flag are WB ones.

Go to top


Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


@sinisrus

PowerWB adds gadgets to window titlebar (and maybe menu options). just like on some porgrams add iconify gadget to intuition windows.

What it will be nice is to SetFunction/Method and add a (toolbar/speedbar) gadget/object to WB windows only (like powerWB) just below the window titlebar.

Go to top


Re: Adding an Amiga menu to an SDL1 window?
Just can't stay away
Just can't stay away


@trixie

I have something like this to get SDL1 window struct:
#include "SDL/SDL_syswm.h"
struct Window *AmigaOS_GetSDLWindowPtr(void)
{
  
SDL_SysWMinfo wmInfo;

  
SDL_GetWMInfo(&wmInfo);
  return( (
struct Window*)wmInfo.window );
}

Go to top


Re: Problems booting a new Sam460LE
Just can't stay away
Just can't stay away


@Raziel & @Hitman

Alas I can't remember what "serdes" variable is for.

IIRC the "stdout=serial" is to get on serial output (text) uboot, no menu available, just to see amigaos menu boot options and to pause/cancel boot and change some values using serial debug if I need to.

Using on a PC putty as serial/com1 terminal.


EDIT1: seems "serdes" is (on my "old" sam460EX) to enable/disable SATA2 instead of PCIe x1, so I set it to pci-e (instead of sata2)

The sam460LE doesn't have internal SATA2 connectors, but "serdes=pci-e" seems "Default environment variables"
#define    CONFIG_EXTRA_ENV_SETTINGS            \
    
"stdout=vga\0"                            \
    
"stdin=usbkbd\0"                        \
    
"hush=0\0"                                \
    
"ide_doreset=on\0"                        \
    
"ide_reset_timeout=15\0"                \
    
"ide_cd_timeout=20\0"                    \
    
"pcie_mode=RP:RP\0"                        \
    
"pciconfighost=1\0"                        \
    
"ipaddr=192.168.2.50\0"                    \
    
"serverip=192.168.2.222\0"                \
    
"ethaddr=00:50:C2:80:D5:00\0"            \
    
"video_activate=pci\0"                    \
    
"menuboot_delay=2\0"                    \
    
"boota_timeout=2\0"                        \
    
"bootcmd=menu; run menuboot_cmd\0"        \
    
"menucmd=menu\0"                        \
    
"menuboot_cmd=boota\0"                    \
    
"boot_method=boota\0"                    \
    
"boot1=s4siicdrom\0"                    \
    
"boot2=s4sii\0"                            \
    
"boot3=usb\0"                            \
    
"s4sii_maxbus=1\0"                        \
    
"os4_commandline=debuglevel=0\0"        \
    
"bootargs=root=/dev/sda3 console=tty0\0"\
    
"serdes=pci-e\0"                        \
    
"usb_enable_4x0=1\0"                    \
    
"usb_retry=1\0"                            \
    
"usb_ohci_power_down_before_reset=1\0"    \
    
"scan_usb_storage=1\0"

Go to top


Re: 2023 - November - Blastaway
Just can't stay away
Just can't stay away


@saimo

Build against SDL1.2.15 and 1.2.16 and with .15 it does the same up/down stuck behaviour and with .16 when trying to start game it just goes again to main menu.

(https://github.com/AmigaPorts/SDL/tree/SDL-1.2)

Thx for all help.

Go to top


Re: Problems booting a new Sam460LE
Just can't stay away
Just can't stay away


Hi, so you get text on serial debug?

Can you boot without rx card and on serial just type:
printenv
it should spit Uboot envvars.
Please post'em here.

I have/use a sam460EX and a RX550 (slim)
...
PCIE1: successfully set as root-complex
02 00 1002 699f 0300 ff
...

maybe the vga boot emulation (x86emu Uboot envvar) set in your sam is to "strict", such value in my sam460EX is 1.


my Uboot envars are:
baudrate=115200
boot_config
=AmigaOS 4.1 beta
loads_echo
=1
hostname
=Sam460ex
stdout
=serial
stdin
=usbkbd
ide_doreset
=on
ide_reset_timeout
=15
ide_cd_timeout
=20
pcie_mode
=RP:RP
pciconfighost
=1
ethaddr
=00:50:C2:80:D5:00
bootcmd
=menurun menuboot_cmd
menucmd
=menu
boot_method
=boota
usb_enable_4x0
=1
usb_retry
=1
usb_ohci_power_down_before_reset
=1
scan_usb_storage
=1
ethact
=ppc_4xx_eth0
s4sii_maxbus
=1
filesize
=2A3B
fileaddr
=2000000
video_activate
=pci
hush
=0
x86emu
=1
ddr2_boost
=0
ipaddr
=192.168.1.204
serverip
=192.168.1.200
serdes
=pci-e
boot1
=s4siicdrom
boota_timeout
=3
menuboot_delay
=2
os4_commandline
=debuglevel=4 SERIAL MUNGE
bootargs
=root=/dev/sda11 console=ttyS0,115200 console=tty0
boot2
=s4sii
boot3
=usb
menuboot_cmd
=boota
ver
=U-Boot 2015.a (May 16 2015 14:20:11)

Go to top


Re: My Amiga Projects
Just can't stay away
Just can't stay away


@TheMagicSN

AWESOME work mate!!!!!

Go to top


Re: 2023 - November - Blastaway
Just can't stay away
Just can't stay away


@saimo

tested under windows 7 (the .zip not the installer version).

Plugged the gamepad and without calibrating launched Blastaway.exe and up/down works fine, doesn't get stuck, player moves smoothly

Go to top


Re: 2023 - November - Blastaway
Just can't stay away
Just can't stay away


@saimo

ok, will try as the windows version ASAP.

Go to top



TopTop
« 1 2 3 4 (5) 6 7 8 ... 51 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project