[GSoC] Add a program that demonstrates rescaling at resizing #385

Closed
AndreiO wants to merge 4 commits from AndreiO/kolibrios:add-proportional-rectangles-program into main
First-time contributor
As requested in [https://board.kolibrios.org/viewtopic.php?t=5980](https://board.kolibrios.org/viewtopic.php?t=5980)
AndreiO added 2 commits 2026-03-22 00:47:30 +00:00
Fixed typo
Build system / Check kernel codestyle (pull_request) Has been cancelled
Build system / Build (pull_request) Has been cancelled
b8702b1a7f
dunkaist requested changes 2026-03-23 19:52:17 +00:00
dunkaist left a comment
Owner

@AndreiO, in general, looks good. Please, fix what I mentioned below

@AndreiO, in general, looks good. Please, fix what I mentioned below
@@ -0,0 +12,4 @@
dd START
dd I_END
dd MEM_END
dd MEM_END
Owner

No stack?

No stack?
Author
First-time contributor

I forgot that mcall pushes to the stack. How much space should I reserve?

I forgot that mcall pushes to the stack. How much space should I reserve?
Owner

If you don't use any stack at all, it's fine. Just make sure you don't forget to add some when you need to 'call' instead of 'jmp'.

If you don't use any stack at all, it's fine. Just make sure you don't forget to add some when you need to 'call' instead of 'jmp'.
@@ -0,0 +52,4 @@
mcall SF_DRAW_RECT
shl ebx, 16
mov bx, [w1]
Owner

Please, follow the code style: https://board.kolibrios.org/viewtopic.php?t=1950

Please, follow the code style: https://board.kolibrios.org/viewtopic.php?t=1950
dunkaist marked this conversation as resolved
@@ -0,0 +94,4 @@
I_END:
w1: rw 1
Owner

No need for a colon here and for other data definitions

No need for a colon here and for other data definitions
dunkaist marked this conversation as resolved
AndreiO added 1 commit 2026-03-23 22:33:16 +00:00
Made the proportional rectangles program use the proper style
Build system / Check kernel codestyle (pull_request) Has been cancelled
Build system / Build (pull_request) Has been cancelled
3a815a110e
AndreiO added 1 commit 2026-03-23 22:34:56 +00:00
Removed colones from data definitions from proportional rectangles program
Build system / Check kernel codestyle (pull_request) Has been cancelled
Build system / Build (pull_request) Has been cancelled
ca9595a9ed
Owner

@AndreiO, looks good to me. Your test task is complete now.

@AndreiO, looks good to me. Your test task is complete now.
Burer changed title from Add a program that demonstrates rescaling at resizing to [GSoC] Add a program that demonstrates rescaling at resizing 2026-04-28 06:51:45 +00:00
Burer closed this pull request 2026-06-07 16:38:55 +00:00
Some required checks failed
Build system / Check kernel codestyle (pull_request) Has been cancelled
Required
Details
Build system / Build (pull_request) Has been cancelled
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#385