News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_McArti0

Emulator for Android. How to set 50Hz on a smartphone?

Started by McArti0, 11:20, 03 February 25

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

McArti0

Does anyone know Android well? It's about forcing 50Hz on the Screen when the menu only shows 60Hz.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor

Depends on manufacturer and Android version.

This used to work some time ago (no idea when I entered it into my notes), I don't know if it's working anymore:

adb shell settings put system peak_refresh_rate xx.x
adb shell settings put system min_refresh_rate xx.x

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor

Should work with A12, but never worked with Motorola phones so don't take my word for it.

I don't think it needs root, just a PC, adb, dev options on and USB debugging on.

If for some reason it refuses to allow you to do it, you can do a "pm grant" (I'm on the phone right now, can't really hunt for the syntax and options, sorry, and haven't done that in ages since I'm always rooted)

I guess you can also do it with the SetEdit management tool, too.

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor


McArti0

Main screen.
CPCEMU 2.5 flikers well but only at 60Hz  CRTC R4=31
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor

No I mean how do you know about the 60/90 thing.

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor

Not that it matters much, but are you sure it reads the refresh rate accurately? And why are there two values (60/90)? Apologies, I don't quite understand what you're doing. 

By the way, there's an option in Dev Options to show the refresh rate on-screen.

McArti0

I use SetEdit and when I set min_refresh_rate and  peak_refresh_rate to 50 phone is going to auto set live 60/90.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.


Gryzor


McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Gryzor

Yeah that's why I mentioned manufacturers at the beginning...

McArti0

If anyone wants to test their phone. Set 50Hz, install CPCEMU 2.5 and the code: 

SPEED INK 1,1
INK 0,4,9

And see if you can see the blinking dark gray nicely.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Powered by SMFPacks Menu Editor Mod