Rune Holm
a2b0521dbd
move address translation cache fields from global variables to the m68k struct, as
...
this way we can pass around one pointer and access them all in the future.
This happens to win 5-10% performance, because now the code generator can generate a single
global variable pointer to get to all of the translation cache/range fields at once.
2021-06-18 22:01:22 +01:00
Rune Holm
b91e0e809d
optimise away an unnecessary subtract on the instruction fetch fast path
2021-06-18 22:01:20 +01:00
beeanyew
ae4e0ae9f1
Add some Mac thing to enable/disable ROM overlay
2021-06-18 22:01:20 +01:00
beeanyew
e01f68fd4f
Move Amiga register read/write checks to PLATFORM_AMIGA scope
2021-06-18 22:01:19 +01:00
shanshe
a315cdb7b8
Improve 68k cycle state machine
...
S7 and S0 states are made faster to gain almost a c7m cycle, making Chip
access faster. (sysinfo 4.4 chip speed from 0.97 to 1.13)
2021-06-18 22:01:19 +01:00
beeanyew
4b2af2ee35
Fix config reload?
...
Apparently I forgot to stage a hunk, also don't attempt to initialize A314 emulation if it has already been initialized.
2021-06-18 22:01:18 +01:00
beeanyew
635711f798
[HAX] Inline ps_read8/16/32 in emulator.c to avoid long jumps on bus transactions
2021-06-18 22:01:17 +01:00
beeanyew
a48402ce6c
Fix Musashi compilation with prefetch emulation disabled
2021-06-18 22:01:17 +01:00
Jarno Lehtinen
46074e70cc
Suppress CLI-window at startup when using AmiTCP
...
Redirect AmiTCP:bin/startnet output to NIL: so it doesn't open new persistent CLI-window at startup.
2021-06-18 22:01:17 +01:00
Marcus Agehall
5043664ac4
Fixed building of the generated sources.
2021-06-18 22:01:17 +01:00
Marcus Agehall
aa4076daad
Added dependency tracking of include files.
2021-06-18 22:01:17 +01:00
beeanyew
19ef9bfe60
Do not free MAPTYPE_RAM_NOALLOC mapped data
2021-06-18 22:01:17 +01:00
beeanyew
eac4c78c3e
Merge pull request #30 from beeanyew/wip-crap
...
Current WIP features and fixes
2021-06-14 01:03:05 +02:00
beeanyew
c1603ffb07
Restore missing lines to m68kcpu.c
2021-06-11 21:47:27 +02:00
beeanyew
53c2d31deb
Merge pull request #42 from runehol/main
...
Last translated PC range cache
2021-06-11 21:38:58 +02:00
beeanyew
62d18f9f13
Merge branch 'wip-crap' into main
2021-06-11 21:38:36 +02:00
Rune Holm
fe3b4bb032
pull the PC masking into the code translation cache, so that we only need to mask the PC on our slow path. Gives us another 5-10% speedup.
2021-06-11 19:34:03 +01:00
Rune Holm
3203ac8590
Created address translation fast path for code reads, separated slow path into separate function so the fast path is more likely to be inlined. 10-20% performance improvement
2021-06-11 18:37:57 +01:00
beeanyew
f4de6907c1
Merge pull request #41 from tehKaiN/i2c_programmer
...
Initial work on FPGA I2C programmer
2021-06-11 18:52:06 +02:00
tehKaiN
a0f6204c2a
Initial work on FPGA I2C programmer
2021-06-11 17:48:11 +01:00
beeanyew
6109a894ee
Merge pull request #39 from LinuxJedi/rebuild-hdf
...
Rebuild HDF with latest RTG changes
2021-06-11 17:49:01 +02:00
Andrew Hutchings
b038f14284
Rebuild HDF with latest RTG changes
2021-06-11 16:45:47 +01:00
beeanyew
41566c18c9
Some PiSCSI file system reloc changes
2021-06-11 09:09:50 +02:00
beeanyew
0f16606749
Magically fix PiSCSI custom file system loading from disk
...
By adding a single line of code that I forgot to type in. Hello boilerplate.
2021-06-10 20:29:10 +02:00
beeanyew
3d40ecb9a9
Actually add data/fs directory
2021-06-10 20:20:30 +02:00
beeanyew
8ebbc29a79
Some non-working loading of file systems from disk for PiSCSI
2021-06-10 20:20:05 +02:00
beeanyew
862836b767
Merge pull request #38 from mcgurk/wip-crap
...
AmiTCP network instructions added
2021-06-09 02:04:42 +02:00
Jarno Lehtinen
d0b455c0c3
AmiTCP instructions added
2021-06-08 23:37:09 +03:00
beeanyew
f77e1715a6
Reduce lag of repeatedly triggered interrupts a bit
...
Please tell me if this breaks everything.
2021-06-08 22:23:26 +02:00
beeanyew
7a5036ff51
Rework RTG WaitVerticalSync a bit
2021-06-08 11:13:29 +02:00
beeanyew
90c802592b
Fix P96 2.1E(?) issues
...
The Picasso96 bundled with some WB installs was refusing to enumerate any modes when encountering a palette or graphics controller type higher than its old assigned maximum.
This should fix the problem with sometimes being unable to find any graphics modes through the CyberGraphX API.
NOTE: Requires reattaching the Picasso96 settings to the board, since the palette/graphics controller chip type has changed.
2021-06-08 10:04:27 +02:00
beeanyew
e3fd0660b9
Some janitorial stuff
...
Fix a314.device build.bat to build a314.device to the correct directory
Disable MMU emulation for now, since it mostly just causes problems when enabled
2021-06-08 00:19:49 +02:00
beeanyew
f379eac4de
Merge pull request #36 from LinuxJedi/p96update
...
Update pistorm.hdf for RTG changes
2021-06-07 19:59:52 +02:00
Andrew Hutchings
97a56fb95f
Update pistorm.hdf for RTG changes
...
New P96 patch file from Lemaru and update the card files in the HDF.
2021-06-07 16:49:20 +01:00
beeanyew
16af9ca169
Support unaligned memory writes over the 68000 bus
2021-06-07 10:22:31 +02:00
beeanyew
cd3b5fb954
Some RTG fixes
...
Fix RTG screen not being re-enabled after boot without an initial SetSwitch 0 call, should take care of issues switching resolutions and rebooting with Aminet Picasso96
Add hold left shift to not initialize RTG driver, thanks to flype
2021-06-07 04:12:16 +02:00
beeanyew
f56cef8ca5
Merge pull request #35 from LinuxJedi/canned-hdf-fixes
...
Fixes to pistorm.hdf
2021-06-06 09:00:50 +02:00
Andrew Hutchings
87d70b2437
Fixes to pistorm.hdf
...
Now does the following:
* Uses a DOS/1 filesystem binary
* Creates a partition 100% of the disk size
* Adds Lemaru's PiGFX_Installer
* Adds missing .info file
2021-06-06 07:30:21 +01:00
beeanyew
70cc4f9be3
PiSCSI hunk reloc change
...
Came across a version of PFS3AIO with an excessive number of hunk relocations in the binary compared to the ones I've seen.
Fixes segmentation fault when loading said file systems, requires `make` and `make clean` to take effect.
2021-06-04 16:34:22 +02:00
beeanyew
af40e3c7a3
Actually include pistorm-dev-enums.h
2021-06-04 09:38:37 +02:00
beeanyew
5c60601e00
Fix PiStorm dev memcpy, correct extern gayle_emulation_enabled type
2021-06-04 09:37:33 +02:00
beeanyew
ceebc59532
Add somewhat proper RTG vsync handling
2021-06-03 22:48:52 +02:00
beeanyew
ffdf080c87
Some RTG bug fixes, (inactive for now) P2C iRTG implementation
...
Fix P2C/P2D behavior when swiching between color depths.
Add P2C iRTG implementation. This is currently too slow to be used due to the massive amount of single ps_read_8s, needs something to copy all the data similar to the RTG driver code.
2021-06-03 22:16:12 +02:00
beeanyew
6a345535ee
Only allow get_mapped functions to return RAM and ROM ranges
2021-06-03 11:14:49 +02:00
beeanyew
86f99314c6
Fix iRTG BlitTemplate add iRTG BlitPattern support
2021-06-03 11:06:37 +02:00
beeanyew
46520d9b22
Add iRTG implementation for BlitTemplate, clean up BlitTemplate RTG code
2021-06-03 08:35:38 +02:00
beeanyew
b1a449ddbf
iRTG initial implementation
...
Reworked PiGFX .card driver to build using m68k-amigaos-gcc instead of VBCC
Add some iRTG accelerated functionality to rtg.c
Move rtg_enums.h to match other Amiga driver build setups
pigfx020i.card must be used to enable iRTG usage
2021-06-02 16:10:23 +02:00
beeanyew
c7d20e9a17
Update readme.md with more specific BOM CPLD model information
2021-06-02 02:13:41 +02:00
beeanyew
f7208370eb
Merge pull request #27 from TheRealTachyon/patch-1
...
Update README.md
2021-06-02 01:51:01 +02:00
TheRealTachyon
349fece254
Update README.md
2021-06-01 17:47:31 -06:00