Commit graph

1071 commits

Author SHA1 Message Date
Z8Griz
729a866121
Merge dbe88c18c9 into 8773bd95f0 2024-12-03 00:37:59 +01:00
Gunch
8773bd95f0
Merge pull request #161 from Zeal-Operating-System/pitch-fix
Some checks failed
Build ZealOS ISOs / Build (push) Has been cancelled
Use framebuffer pitch instead of width where necessary
2024-12-02 01:12:24 -05:00
Gunch
5658469acb
Merge branch 'master' into pitch-fix 2024-12-02 01:08:33 -05:00
GutPuncher
2ffd423f7b
Refactor framebuffer handling and remove redundant variables. (not tested on baremetal)
- Removed the 'fb_width_from_pitch' variable and replaced its usage with 'sys_framebuffer_pidth' to standardize the handling of framebuffer width-from-pitch across the codebase.
- Updated references to 'fb_width_from_pitch' in display and screen update functions to use 'sys_framebuffer_pidth', ensuring consistent calculations.
- Replaced 'sys_framebuffer_pitch / (sys_framebuffer_bpp / 8)' with 'sys_framebuffer_pidth' to avoid redundant calculations and improve code readability.
- Fixed framebuffer calculations in 'GrCalcScreenUpdates', 'GrUpdateScreen32', and related functions to use the correct framebuffer width-from-pitch value.
- Corrected and simplified screen update logic in 'GrZoomInScreen' and 'GrUpdateScreen'.
2024-12-02 01:02:34 -05:00
Gunch
a95d5559de
Merge pull request #164 from Zeal-Operating-System/zealbooter-updates
Some checks failed
Build ZealOS ISOs / Build (push) Has been cancelled
Update Zealbooter build system from Limine template
2024-10-04 02:21:08 -04:00
mintsuki
5bd76304ec Update Zealbooter build system from Limine template 2024-09-30 20:07:33 +02:00
GutPuncher
38c41e551a
Fix zoom handling and update screen calculations
- Corrected loop bounds in 'GrZoomInScreen' to use 'GR_HEIGHT' and 'GR_WIDTH' constants instead of dynamic values from 'gr.dc2'.
- Updated 'src' offset calculations to use 'GR_WIDTH' instead of 'gr.dc2->width_internal'.
- Simplified 'GrUpdateScreen32' to use fixed 'GR_HEIGHT' and 'GR_WIDTH' values for screen updates, removing unnecessary calculations and size adjustments based on 'gr.dc2' and 'gr.zoomed_dc'.
2024-08-29 01:48:17 -04:00
GutPuncher
b08c10e343
Fixing GrCalcScreenUpdates incorrect size passed to MemCopy 2024-08-29 01:00:35 -04:00
GutPuncher
f8c9845026
Cleaning up leftover scraps from graphics code hacking, reimplementing GrCalcScreenUpdates 2024-08-29 00:49:38 -04:00
Z8Griz
dbe88c18c9 did not mean to include that specific code and file. 2024-08-27 20:21:38 -06:00
Z8Griz
295a97bf4c changed hardcoded to systemside clock or ticks. JIFFY_FREQ.
Noticed slightly better responsive times while reducing timeouts.
2024-08-27 19:04:03 -06:00
Z8Griz
e363a0b0b6 Unsure if this is correct but as far as connections and speeds goes, it remained unchanged. 2024-08-27 13:50:40 -06:00
Z8Griz
ff978b1ce3 RECEIVE WINDOW is different than RECEIVE BUFFER
The receive buffer is allocated per socket.
TCP receive buffer holds TCP data that has not yet been processed
(consumed via read/recv system calls) by the application.
2024-08-26 18:34:11 -06:00
Z8Griz
1a5368962b There is no receive window size.
Client(send) overrides host(receive) window size.
It's one of the reasons why telnet chars and gopher files/links tend to drop. Packetloss/timeout.
2024-08-26 07:16:48 -06:00
Z8Griz
1f750d9237 Most modern network cards and routers uses standard frame.
Lowered the frame size because if network card / router can't handle high frame,
it will causes fragmentation, leading to packetloss or lost connection.
It depends on the network card and router.
A standard frame is 1518 bytes on the wire (as far as any capturing device is concerned).
A tagged frame (single tag) is 1522 bytes on the wire.
These take up 1538 bytes or 1542 bytes of transmission space on the wire.
On most OS, it is usually set at 1542. As a safe measure.
If one wants run on 90s network card, it should be set at 1518.
I think this should be automated, not hardcoded.
2024-08-26 07:05:39 -06:00
GutPuncher
05febc9803
Hacking graphics code in pursuit of fixing #28 2024-08-26 02:14:30 -04:00
GutPuncher
9f363f265d
Lower DOC_SCROLL_SPEED from 8 to 6 2024-08-26 02:07:47 -04:00
GutPuncher
16eec2be89
Increment sys_os_version_sub 2024-08-26 02:04:18 -04:00
GutPuncher
4e77bf1c0a
Add flush command option to sync.sh , to attempt to flush qemu-nbd state and attempt basic repair of filesystem 2024-08-26 02:01:43 -04:00
Gunch
d1380b57f1
Merge branch 'master' into pitch-fix 2024-08-25 06:20:52 -04:00
GutPuncher
b7d5f81b35
Add diff vdisk <---> src/ functionality to sync.sh 2024-08-21 21:18:27 -04:00
Arsenic Blood
66f29b3f31
Merge pull request #160 from Zeal-Operating-System/limine8
Update Zealbooter to Limine 8.x and backport template changes
2024-08-20 23:42:03 -04:00
Arsenic Blood
f2a7f94e69
Update KGlobals.ZC 2024-08-20 23:39:12 -04:00
mintsuki
41e7e302d5 Use framebuffer pitch instead of width where necessary 2024-08-14 22:16:39 +02:00
mintsuki
6789243978 Update Zealbooter to Limine 8.x and backport template changes 2024-08-14 21:19:14 +02:00
Arsenic Blood
b1e0034183
Merge pull request #156 from lachsdachs/patch-1
upd link
2024-05-11 01:14:46 -04:00
lachsdachs
43a65807ef
upd link
old one was broken
2024-04-27 17:55:56 +02:00
Arsenic Blood
cd46dc4ab3
Merge pull request #146 from mknos/strscan_memcopy
StrScan(): Copy into new buffer with MemCopy() instead of loop
2024-03-11 03:05:03 -04:00
Arsenic Blood
8f9d48bb13
Update KGlobals.ZC 2024-03-11 03:04:39 -04:00
Arsenic Blood
86d994c8de
Merge branch 'master' into strscan_memcopy 2024-03-11 03:03:58 -04:00
Arsenic Blood
d77e52698f
Update KGlobals.ZC 2024-03-11 03:02:10 -04:00
Arsenic Blood
ff3cbf160b
Merge pull request #145 from mknos/kdisplay_loop
Merge duplicate RawPutChar() call into do-while loop
2024-03-11 03:00:23 -04:00
Arsenic Blood
cf4d34c8b2
Update Display.ZC 2024-03-11 02:59:45 -04:00
Arsenic Blood
97d10e9dfd
Merge branch 'master' into kdisplay_loop 2024-03-11 02:58:35 -04:00
Arsenic Blood
314b463064
Update MakeHome.ZC 2024-03-11 02:54:46 -04:00
GutPuncher
fca34d8b3d
feat: revise/refactor #124 , inc patch num 2024-03-11 02:52:35 -04:00
Arsenic Blood
d418e325e4
Merge branch 'master' into syslog-yuugure 2024-03-11 02:08:23 -04:00
GutPuncher
d63cfd8099
feat: CI build check for ISOs and fail if missing 2024-03-11 02:05:24 -04:00
チャールズ
4d9e897dec
Merge branch 'master' into syslog-yuugure 2024-03-10 21:59:41 +09:00
GutPuncher
7edf953c24
chore: inc os version patch num 2024-03-07 00:22:13 -05:00
retu2libc
6c976d8b56 Offload FCS to driver specific code 2024-03-07 00:05:39 -05:00
Arsenic Blood
1b7f2bb951
Merge branch 'master' into strscan_memcopy 2024-03-07 00:00:37 -05:00
Arsenic Blood
0995eb82df
Merge branch 'master' into kdisplay_loop 2024-03-07 00:00:28 -05:00
GutPuncher
8662e5ca5e
chore: inc os version patch num 2024-03-06 23:14:57 -05:00
retu2libc
f709dc872a Deduce when ethertype field is actually data length 2024-03-06 23:01:35 -05:00
retu2libc
3809e15849 On PCNet nics enable FCS check and strip via ASTRP_RCV 2024-03-06 23:01:35 -05:00
Arsenic Blood
80ce532072
Update README.md 2024-03-06 22:56:09 -05:00
Arsenic Blood
a308c6955c
Update build.yml 2024-03-06 22:52:53 -05:00
Arsenic Blood
f870158a0c
Update build.yml 2024-03-06 22:52:08 -05:00
GutPuncher
bb6c4642c2
feat: CI scripts updates 2024-03-05 05:21:29 -05:00