Search found 4431 matches

by Sorgelig
Thu May 23, 2019 10:57 pm
Forum: MiSTer
Topic: Absolute mouse coordinates
Replies: 102
Views: 4849

Re: Absolute mouse coordinates

it lists one Sony Wireless controller. Probably one of your controllers mimics DualShock4.
by Sorgelig
Thu May 23, 2019 10:51 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

i've added changes to Ascal for R/B swapping in Menu_MiSTer repository. You can accept my changes or make your own. Up to you. Is it really useful to be able to choose the order? And RGB565 seems a bit more common than RGB555. And there is one extra bit of green paint! It's better to have a choice ...
by Sorgelig
Thu May 23, 2019 10:45 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

New menu look:

20190524_064111.jpg
by Sorgelig
Thu May 23, 2019 5:44 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

Of course it's possible to run getty when you switch to linux screen, and kill when you switch to the core's screen. But i find this usage very limited. I find it useful to not interrupt the terminal session. It may be useful to have it in parallel. Sometimes it's good to debug something. With some...
by Sorgelig
Thu May 23, 2019 5:42 pm
Forum: MiSTer
Topic: Absolute mouse coordinates
Replies: 102
Views: 4849

Re: Absolute mouse coordinates

opened 5( 5): /dev/input/event8 (054c:05c4) 4 "00:00:00:00:00:00" "Sony Computer Entertainment Wireless Controller" opened 6( 5): /dev/input/event6 (054c:05c4) 5 "00:00:00:00:00:00" "Sony Computer Entertainment Wireless Controller Touchpad" not related to gun...
by Sorgelig
Thu May 23, 2019 5:38 pm
Forum: MiSTer
Topic: Absolute mouse coordinates
Replies: 102
Views: 4849

Re: Absolute mouse coordinates

how about the buttons? Do they come from the same eventX or different? It's better to give me log where present: 1) opening the input devices 2) pointer move in both X and Y 3) press sequentially all available buttons. This should be the single log so i can match the devices. It's interesting what &...
by Sorgelig
Thu May 23, 2019 4:22 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

Of course it's possible to run getty when you switch to linux screen, and kill when you switch to the core's screen. But i find this usage very limited. I find it useful to not interrupt the terminal session. It may be useful to have it in parallel. Sometimes it's good to debug something. With some ...
by Sorgelig
Thu May 23, 2019 4:17 pm
Forum: MiSTer
Topic: Absolute mouse coordinates
Replies: 102
Views: 4849

Re: Absolute mouse coordinates

kitrinx wrote:Is this what you need?

yes.
Also log when input devices are opened, so i will see all devices of this gun.
by Sorgelig
Thu May 23, 2019 4:14 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

@Grabulosaure:
i've added changes to Ascal for R/B swapping in Menu_MiSTer repository.
You can accept my changes or make your own. Up to you.
by Sorgelig
Thu May 23, 2019 2:07 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

It seems more common color positions is when B least bits, then G then R in highest bits. So, opposite to current format. At least some linux graphic libraries expect these positions of colors.
It would be good to have a signal for swapping R/B components in frame buffer.
by Sorgelig
Thu May 23, 2019 9:05 am
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

There is a big problem came with frame buffer implementation and use TTY. TTY always listen and executes the keyboard input. This is why my linux originally was headless. Now i have to deal with TTY (virtual terminal) and find the way to block the keyboard when it's not visible to user. So far i can...
by Sorgelig
Thu May 23, 2019 6:46 am
Forum: MiSTer
Topic: Absolute mouse coordinates
Replies: 102
Views: 4849

Re: Absolute mouse coordinates

yes, i can do it
by Sorgelig
Wed May 22, 2019 2:31 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

Grabulosaure wrote:Another version !

new version is much easier to use.
As i guess now can use any address of framebuffer divisible by 256?
by Sorgelig
Wed May 22, 2019 12:29 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

once you start agetty on tty1, it will get all input events.
by Sorgelig
Wed May 22, 2019 12:07 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

Locutus73 wrote:Which terminal are you using?

standard agetty
by Sorgelig
Wed May 22, 2019 4:56 am
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

Yeah, it's possible.
May be OCR translation can be sent to the phone.
by Sorgelig
Wed May 22, 2019 4:40 am
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

(and for downscaling... I will try again. With the current architecture, there are 128bits*32 double buffers between avl_, i_ and o_ clock domains, this wide bus wastes lots of RAM blocks and downscaling would require replicating these buffers.) I went with linux system frame buffer. And it seems i...
by Sorgelig
Tue May 21, 2019 11:32 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

I can force the line length in framebuffer mode to use a constant number of 256 bytes bursts per line, independently from the resolution. I've made an ascal_hburst.vhd version with an additional o_fb_hburst signal, if it's what you're looking for. No, it's not related to burst length. I was talking...
by Sorgelig
Tue May 21, 2019 10:35 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

something already works: 20190522_062528.jpg colors are wrong, but should be easily fixed. There is another problem arises: linux framebuffer allows to change the resolution but doesn't allow to change the stride (line length in bytes). Originally i've planned to make dynamic resolution for framebuf...
by Sorgelig
Tue May 21, 2019 9:20 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

There is one problem - it will output to HDMI only. Well, it's possible to do some switch between scaler output and core output on VGA, but it will make TV mad switching between resolutions. So here we hit the point where VGA will be left behind with simple output from cores only. Actually i'm fine ...
by Sorgelig
Tue May 21, 2019 7:51 pm
Forum: MiSTer
Topic: Scaler
Replies: 355
Views: 45662

Re: Scaler

@Grabulosaure, Having 256 header in the beginning making the frame buffer incompatible with linux system. It needs page aligned buffer, so starting from +256 breaks the compatibility (or at least making it hard to workaround). At the same time scaler doesn't allow to set arbitrary offset for buffer....
by Sorgelig
Tue May 21, 2019 5:10 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

Yeah, something like this.
I still think what is the better way to implement the framebuffer.

As for joypad control - there are several ways. With fully automated script it's possible to start the same way from Menu core. Just output will be in normal text window instead of OSD window.
by Sorgelig
Tue May 21, 2019 3:33 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

MiSTer needs pretty much similar but more useful task: With frame buffer support it should be much easier to create terminal output application and get Linux command prompt right on MiSTer video. What is now needed - some source of terminal with ability to work with graphics buffer. Probably getty/a...
by Sorgelig
Tue May 21, 2019 2:31 pm
Forum: MiSTer
Topic: 240p on HDMI
Replies: 23
Views: 3192

Re: 240p on HDMI

This mode gives 320x240:

Code: Select all

video_mode=320,336,96,48,240,250,2,33,25175

It works fine on my monitor. I've made this mode from 640x480@60
by Sorgelig
Tue May 21, 2019 12:59 pm
Forum: MiSTer
Topic: MiSTer Web Control demo
Replies: 31
Views: 1266

Re: MiSTer Web Control demo

Working with memory in HDL is not as easy as in C write a[i] = 1. It needs interface so access the memory. DDR is very busy and has no free interface to access, so it will need to share with other DDR client. Doing it just to save OSD data is too expensive for pretty much useless data for 99.9% user...

Go to advanced search