Views: 6,866,282 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 04-20-24 09:46 AM
Guest:

Main - Posts by Arisotura

Pages: 1 2 3 4 5 ... 31 32 33 34 35 36 37 38 39 ... 41 42 43 44 45
Arisotura
Posted on 03-30-21 12:14 PM, in About local connections Link | #3519
make sure MAC randomization is enabled

____________________
Kuribo64

Arisotura
Posted on 03-31-21 05:52 PM, in File "timewarp.mln". Link | #3525
it's used by the 'undo state load' feature

____________________
Kuribo64

Arisotura
Posted on 04-07-21 11:52 AM, in Upscaling higher than 16x? Link | #3563
we could virtually scale to any amount, the only issue with higher resolutions (besides performance) is whether the framebuffers and shit would fit in your GPU's memory

____________________
Kuribo64

(post in restricted forum)

(post in restricted forum)

Arisotura
Posted on 04-12-21 11:35 AM, in FrameRate Link | #3578
it's weird, because the DS itself runs at 60FPS

so, either you want to artificially slow down your game? or it happens to run 'too fast' in melonDS due to a timing issue?

____________________
Kuribo64

Arisotura
Posted on 04-14-21 12:57 PM, in cart NAND - finding stash (rev. 15 of 04-14-21 11:01 PM) Link | #3582
command 94

replies with some sort of ID data?

example data from a Jam with the Band cart:

EC F1 00 95 40 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 EC 00 9E A1 51 65 34 35
30 35 30 31 19 19 02 0A 00 00 00 00 00 00 00 00
past that it's all zeroes.

the 16 bytes at 0x18 are also found at the beginning of the last 0x800 block in the save memory (which seems to be 8MB). the game checks for them.

EC 00 9E A1 51 65 34 35 30 35 30 31 19 19 02 0A
00 00 00 00 6D D6 DA 9B B0 24 22 88 79 3B BF EA
E6 AC 5E FA 69 12 0D 52 5D 5B F5 80 FF FF FF FF

command D6

retrieves the NAND status, repeated over and over again.

status values:
20 on init
bit5: NAND ready
bit4: write enable -- set by command 85, NOT cleared by command 84, cleared after a write/erase/etc command

command B2

seek somewhere? takes an address. doesn't seem to have any response.

after a B2 command, B7 reads from the savemem.

sets the 0x20000-byte window in which SRAM read/write is permitted. NAND stays stuck perma-busy if the address is before the start of the SRAM region (ROM header 94/96).

issuing this command while already in SRAM mode fucks shit up.

command 8B

reverts to regular ROM mode (B7 reads from ROM).

command 84

discard writebuffer. a subsequent cmd82 will have no effect.

command 85

write enable. sets bit4 in status register.

only works if SRAM mode (cmd B2) is engaged.

command 82

write disable. clears bit4 in status register.

required to finalize a write after using command 81 to send the data. (data presumably written from some temp buffer to the actual NAND)

write buffer is 0x800 bytes. not filling it enough fucks things up.

last 0x20000 block of the SRAM region is not writable. it's all FF except for the ID data at the beginning of the last 0x800 bytes.

____________________
Kuribo64

Arisotura
Posted on 04-20-21 05:31 PM, in Bluetooth cart + keyboard Link | #3603
FF 01 00 00 04 01 03 0C 00


FF: starter byte presumably

01 00 00 04: header
01 00: command??
00 04: length of payload

01 03 0C 00: payload

____________________
Kuribo64

Arisotura
Posted on 04-21-21 10:13 PM, in Bluetooth cart + keyboard (rev. 3 of 04-21-21 11:12 PM) Link | #3606
UPDATE on this matter


the game does something weird during SPI comm:

1. set SPICNT to A040
2. send FF byte
-> cart sends IRQ, which is ignored
3. set SPICNT to 0043
4. small delay
5. set SPICNT to A040
6. send header and payload (SPICNT set to A000 before last byte, as normal)
-> cart sends IRQ at the end of the payload


it's weird because just sending the first byte with SPICNT=A000 does not replicate this

as if normal 'clear hold after last byte' just told the cart to reset SPI comm, and next byte is considered a 'first byte' again

but the weird reset done by setting SPICNT to 0043 somehow behaved different, deselecting the SPI thing but with a different timing? that somehow tells the cart 'but wait, there's more'

prolly that setting stops the BT controller from getting a SPI clock, which it can detect SPI clock is supposed to only work during a transfer

____________________
Kuribo64

Arisotura
Posted on 04-22-21 08:03 PM, in Bluetooth cart + keyboard (rev. 3 of 04-22-21 08:05 PM) Link | #3607
CONTENTS OF THE POKETYPE CART

* typical Macronix ROM
* STMicroelectronics M25PE10 SPI FLASH memory, presumably 128K
* Broadcom BCM2070 Bluetooth controller
* 26MHz crystal oscillator

____________________
Kuribo64

Arisotura
Posted on 04-24-21 05:47 PM, in Does MelonDS have rollback netcode Link | #3610
what do you mean by that

____________________
Kuribo64

Arisotura
Posted on 04-24-21 05:54 PM, in Does MelonDS have rollback netcode Link | #3612
I was explained what that was, at the same time, in IRC

[19:46:59] <KuriBot> New thread by Vyon in General: Does MelonDS have rollback netcode - http://melonds.kuribo64.net/board/?t=742
[19:47:00] * Generic est parti (Ping timeout: 121 seconds)
[19:47:28] <Arisotura> 'rollback netcode'
[19:47:30] <Arisotura> what's that thing
[19:47:39] <KuriBot> New reply by Arisotura (General: Does MelonDS have rollback netcode (742) (+474)) - http://melonds.kuribo64.net/board/?p=3610
[19:48:23] * Hydr8gon rolls back Arisotura's code
[19:49:52] <PoroCYon> it's code that tries to predict inputs and acts if things turn out differently, to minimize lag
[19:50:25] <PoroCYon> thing is, that's not really possible here because emulation is done on a low level (i.e. no HLE game logic) so that it's quite impractical
[19:50:39] <Arisotura> o
[19:50:59] <PoroCYon> I mean *technically* you could try predicting KEYIN stuff etc
[19:51:13] <PoroCYon> but uh, rollback with low-level emu stuff is *fun* (not)
[19:51:29] <PoroCYon> https://en.wikipedia.org/wiki/Rollback_netcode#Rollback
[19:51:47] <KuriBot> New reply by Vyon (General: Does MelonDS have rollback netcode (742) (+131)) - http://melonds.kuribo64.net/board/?p=3611

we don't have rollback netcode, and prolly won't for the near future

____________________
Kuribo64

Arisotura
Posted on 04-24-21 05:57 PM, in Does MelonDS have rollback netcode Link | #3614
thanks, same to you :P

____________________
Kuribo64

Arisotura
Posted on 04-25-21 10:46 AM, in possible analogue control ¿ Link | #3617
what do you mean by analog control?

____________________
Kuribo64

Arisotura
Posted on 04-25-21 06:43 PM, in possible analogue control ¿ Link | #3621
it's possible with something like AM64DS. with some extra code in melonDS we might support that too.

____________________
Kuribo64

Arisotura
Posted on 04-29-21 06:34 AM, in Help Running DSI Mode? Link | #3627
this screen means that either your NAND is lacking the nocash footer, or your BIOS files aren't augmented. are you using the same that you used with NO$GBA? these should work.

____________________
Kuribo64

Arisotura
Posted on 04-29-21 05:12 PM, in Help Running DSI Mode? Link | #3635
BIOS files that work with NO$GBA are already augmented

also, for the NAND, what is the exact size of your file?

____________________
Kuribo64

Arisotura
Posted on 04-29-21 09:54 PM, in Help Running DSI Mode? Link | #3639
Posted by NickyFan7
The NAND is 245,761 Kilobytes or 240 MB should it be smaller, larger?

that seems to be the correct size (ie includes nocash footer). what's the exact size in bytes? as it says in the property dialog.

____________________
Kuribo64

Arisotura
Posted on 04-30-21 12:43 AM, in Bluetooth cart + keyboard Link | #3641
Kuruma de DS (UZCJ) also has a BT controller

____________________
Kuribo64

Arisotura
(post deleted) #3667
Pages: 1 2 3 4 5 ... 31 32 33 34 35 36 37 38 39 ... 41 42 43 44 45

Main - Posts by Arisotura

Page rendered in 0.082 seconds. (2048KB of memory used)
MySQL - queries: 22, rows: 111/111, time: 0.021 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.